File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ /// <reference path='fourslash.ts' />
2
+
3
+ ////interface I<T> {
4
+ //// [/*1*/]: T;
5
+ //// [/*2*/]: T;
6
+ //// }
7
+ ////
8
+ ////class C {
9
+ //// [/*3*/]: string;
10
+ //// [str/*4*/: string]: number;
11
+ //// }
12
+ ////
13
+ ////type T = {
14
+ //// [x/*5*/yz: number]: boolean;
15
+ //// [/*6*/
16
+
17
+ for ( let marker of test . markers ( ) ) {
18
+ goTo . position ( marker . position ) ;
19
+ verify . completionListAllowsNewIdentifier ( ) ;
20
+ }
Original file line number Diff line number Diff line change
1
+ /// <reference path='fourslash.ts' />
2
+
3
+ ////interface I<T> {
4
+ //// [x: /*1*/]: T;
5
+ //// [: /*2*/]: T
6
+ //// }
7
+ ////
8
+ ////class C {
9
+ //// [a: /*3*/]: string;
10
+ //// [str: string/*4*/]: number;
11
+ //// }
12
+ ////
13
+ ////type T = {
14
+ //// [xyz: /*5*/
15
+
16
+ for ( let marker of test . markers ( ) ) {
17
+ goTo . position ( marker . position ) ;
18
+ verify . not . completionListAllowsNewIdentifier ( ) ;
19
+ }
You can’t perform that action at this time.
0 commit comments