File tree Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Original file line number Diff line number Diff line change 8
8
"eslint.options" : {
9
9
"rulePaths" : [" ./scripts/eslint/built/rules/" ],
10
10
"ext" : [" .ts" ]
11
- }
11
+ },
12
+ "typescript.tsdk" : " built/local"
12
13
}
Original file line number Diff line number Diff line change
1
+ /// <reference path="fourslash.ts"/>
2
+
3
+ ////function f() {}
4
+ ////f[Symbol.iterator] = function() {}
5
+
6
+ verify . navigationTree ( {
7
+ "text" : "<global>" ,
8
+ "kind" : "script" ,
9
+ "childItems" : [
10
+ {
11
+ "text" : "f" ,
12
+ "kind" : "class" ,
13
+ "childItems" : [
14
+ {
15
+ "text" : "constructor" ,
16
+ "kind" : "constructor"
17
+ } ,
18
+ {
19
+ "text" : "[Symbol.iterator]" ,
20
+ "kind" : "function"
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ } ) ;
26
+
27
+ verify . navigationBar ( [
28
+ {
29
+ "text" : "<global>" ,
30
+ "kind" : "script" ,
31
+ "childItems" : [
32
+ {
33
+ "text" : "f" ,
34
+ "kind" : "class"
35
+ }
36
+ ]
37
+ } ,
38
+ {
39
+ "text" : "f" ,
40
+ "kind" : "class" ,
41
+ "childItems" : [
42
+ {
43
+ "text" : "constructor" ,
44
+ "kind" : "constructor"
45
+ } ,
46
+ {
47
+ "text" : "[Symbol.iterator]" ,
48
+ "kind" : "function"
49
+ }
50
+ ] ,
51
+ "indent" : 1
52
+ }
53
+ ] ) ;
You can’t perform that action at this time.
0 commit comments