/third_party/typescript/tests/cases/fourslash/ |
H A D | inlayHintsCrash1.ts | 4 // @Filename: foo.js
|
H A D | inlayHintsShouldWork1.ts | 3 //// function foo (a: number, b: number) {}
4 //// foo(/*a*/1, /*b*/2);
|
H A D | inlayHintsShouldWork11.ts | 3 //// function foo(a: number) {
8 //// foo(/*a*/1)(/*b*/2);
|
H A D | inlayHintsShouldWork12.ts | 3 //// function foo(a: (b: number) => number) {
7 //// foo(/*b*/(c: number) => c + 1);
|
H A D | inlayHintsShouldWork13.ts | 3 //// function foo (a: number, b: number) {}
5 //// foo(a, /*b*/2);
|
H A D | inlayHintsShouldWork14.ts | 3 //// function foo (a: number, b: number) {}
4 //// foo(1, 2);
|
H A D | inlayHintsShouldWork15.ts | 4 ////namespace N { export class Foo {} }
5 ////interface Foo {}
11 ////const d = {} as Foo;
12 ////const e = <Foo>{};
|
H A D | inlayHintsShouldWork2.ts | 3 //// function foo (a: number, { c }: any) {}
4 //// foo(/*a*/1, { c: 1});
|
H A D | inlayHintsShouldWork23.ts | 3 //// function foo (Im_very_very_very_very_very_very_very_long: number) {}
4 //// foo(/*a*/1);
|
H A D | inlayHintsShouldWork25.ts | 3 //// function foo (cb: (a: string) => void) {}
4 //// foo((a/*a*/) => { })
|
H A D | inlayHintsShouldWork26.ts | 3 //// function foo (cb: (a: Exclude<1 | 2 | 3, 1>) => void) {}
4 //// foo((a/*a*/) => { })
|
H A D | inlayHintsShouldWork27.ts | 3 //// function foo (a: (b: (c: (d: Exclude<1 | 2 | 3, 1>) => void) => void) => void) {}
4 //// foo(a/*a*/ => {
|
H A D | inlayHintsShouldWork29.ts | 3 //// function foo (a: (b: (c: (d: Exclude<1 | 2 | 3, 1>) => void) => void) => void) {}
4 //// foo(/*a*/a/*b*/ => {
|
H A D | inlayHintsShouldWork3.ts | 3 //// function foo (a: number, ...b: number[]) {}
4 //// foo(/*a*/1, /*b*/1, 1, 1);
|
H A D | inlayHintsShouldWork32.ts | 3 //// function foo1 (a: number, b: number) {}
4 //// function foo2 (c: number, d: number) {}
5 //// function foo3 (e: number, f: number) {}
6 //// function foo4 (g: number, h: number) {}
7 //// function foo5 (i: number, j: number) {}
8 //// function foo6 (k: number, i: number) {}
10 //// function c1 () { foo1(/*a*/1, /*b*/2); }
11 //// function c2 () { foo2(/*c*/1, /*d*/2); }
12 //// function c3 () { foo3(/*e*/1, /*f*/2); }
13 //// function c4 () { foo4(/* [all...] |
H A D | inlayHintsShouldWork33.ts | 3 //// function foo1 (a: number, b: number) {}
4 //// function foo2 (c: number, d: number) {}
5 //// function foo3 (e: number, f: number) {}
6 //// function foo4 (g: number, h: number) {}
7 //// function foo5 (i: number, j: number) {}
8 //// function foo6 (k: number, l: number) {}
10 //// foo1(/*a*/1, /*b*/2);
11 //// foo2(/*c*/1, /*d*/2);
12 //// foo3(/*e*/1, /*f*/2);
13 //// foo4(/* [all...] |
H A D | inlayHintsShouldWork34.ts | 3 //// function foo (v: any) {}
5 //// foo(/*a*/1);
6 //// foo(/*b*/'');
7 //// foo(/*c*/true);
9 //// foo(foo);
10 //// foo(/*j*/(1));
11 //// foo(foo(/*k*/1));
|
H A D | inlayHintsShouldWork35.ts | 3 //// function foo (v: any) {}
5 //// foo(/*a*/1);
6 //// foo(/*b*/'');
7 //// foo(/*c*/true);
8 //// foo(/*d*/() => 1);
9 //// foo(/*e*/function () { return 1 });
10 //// foo(/*f*/{});
11 //// foo(/*g*/{ a: 1 });
12 //// foo(/*h*/[]);
13 //// foo(/* [all...] |
H A D | inlayHintsShouldWork36.ts | 3 //// function foo (a: number, b: number) {}
5 //// foo(/*a*/a, /*b*/2);
|
H A D | inlayHintsShouldWork38.ts | 3 //// function foo ()/*a*/ {
|
H A D | inlayHintsShouldWork39.ts | 3 //// function foo (): number {
|
H A D | inlayHintsShouldWork4.ts | 3 //// declare function foo(w: number): void
4 //// declare function foo(a: number, b: number): void;
5 //// declare function foo(a: number | undefined, b: number | undefined): void;
7 //// foo(/*a*/1)
8 //// foo(/*b*/1, /*c*/2)
|
H A D | inlayHintsShouldWork40.ts | 4 //// foo()/*a*/ {
|
H A D | inlayHintsShouldWork46.ts | 10 //// function foo () { return require('./a'); }
12 //// const c = foo()
|
H A D | inlayHintsShouldWork47.ts | 8 //// x.foo(1, 2);
11 //// * @type {{foo: (a: number, b: number) => void}}
14 //// y.foo(/*a*/1, /*b*/2)
|