File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ /// <reference path='fourslash.ts'/>
2
+
3
+ // @strictNullChecks : true
4
+ ////interface Thing {
5
+ //// hello: number;
6
+ //// world: string;
7
+ //// }
8
+ ////
9
+ ////declare function funcA(x : Thing): void;
10
+ ////declare function funcB(x?: Thing): void;
11
+ ////declare function funcC(x : Thing | null): void;
12
+ ////declare function funcD(x : Thing | undefined): void;
13
+ ////declare function funcE(x : Thing | null | undefined): void;
14
+ ////declare function funcF(x?: Thing | null | undefined): void;
15
+ ////
16
+ ////funcA({ /*A*/ });
17
+ ////funcB({ /*B*/ });
18
+ ////funcC({ /*C*/ });
19
+ ////funcD({ /*D*/ });
20
+ ////funcE({ /*E*/ });
21
+ ////funcF({ /*F*/ });
22
+
23
+
24
+ for ( const marker of test . markers ( ) ) {
25
+ goTo . position ( marker . position ) ;
26
+ verify . completionListContains ( "hello" ) ;
27
+ verify . completionListContains ( "world" ) ;
28
+ }
You can’t perform that action at this time.
0 commit comments