File tree Expand file tree Collapse file tree 1 file changed +0
-38
lines changed
testdata/baselines/reference/fourslash/codeLenses Expand file tree Collapse file tree 1 file changed +0
-38
lines changed Original file line number Diff line number Diff line change 1313// // This one isn't expected to match any overload,
1414// // but is really just here to test how it affects how code lens.
1515// [|foo|](Math.random() ? 1 : "hello");
16- //
17-
18-
19-
20- // === Code Lenses ===
21- // === /codeLensOverloads01.ts ===
22- // export function foo(x: number): number;
23- // export function /*CODELENS: 3 references*/foo(x: string): string;
24- // export function foo(x: string | number): string | number {
25- // return x;
26- // }
27- //
28- // [|foo|](1);
29- //
30- // [|foo|]("hello");
31- //
32- // // This one isn't expected to match any overload,
33- // // but is really just here to test how it affects how code lens.
34- // [|foo|](Math.random() ? 1 : "hello");
35- //
36-
37-
38-
39- // === Code Lenses ===
40- // === /codeLensOverloads01.ts ===
41- // export function foo(x: number): number;
42- // export function foo(x: string): string;
43- // export function /*CODELENS: 3 references*/foo(x: string | number): string | number {
44- // return x;
45- // }
46- //
47- // [|foo|](1);
48- //
49- // [|foo|]("hello");
50- //
51- // // This one isn't expected to match any overload,
52- // // but is really just here to test how it affects how code lens.
53- // [|foo|](Math.random() ? 1 : "hello");
5416//
You can’t perform that action at this time.
0 commit comments