|
7 | 7 | ////function D() {}
|
8 | 8 | ////const E = function F() {}
|
9 | 9 | ////console.log(function inner() {})
|
| 10 | +////String(function fun() { class cls { public prop; } })) |
10 | 11 |
|
| 12 | +function navExact(name: string, kind: string) { |
| 13 | + verify.navigationItemsListContains(name, kind, name, "exact"); |
| 14 | +} |
11 | 15 |
|
12 |
| -// Search for properties defined in the constructor, but not other constructor paramters |
13 |
| -var searchValue = "search"; |
14 |
| -verify.navigationItemsListContains("A", "class", "A", "exact"); |
15 |
| -verify.navigationItemsListContains("B", "const", "B", "exact"); |
16 |
| -verify.navigationItemsListContains("C", "class", "C", "exact"); |
17 |
| -verify.navigationItemsListContains("x", "property", "x", "exact"); |
| 16 | +navExact("A", "class"); |
| 17 | +navExact("B", "const"); |
| 18 | +navExact("C", "class"); |
| 19 | +navExact("x", "property"); |
18 | 20 |
|
19 |
| -verify.navigationItemsListContains("D", "function", "D", "exact"); |
20 |
| -verify.navigationItemsListContains("E", "const", "E", "exact"); |
21 |
| -verify.navigationItemsListContains("F", "function", "F", "exact") |
| 21 | +navExact("D", "function"); |
| 22 | +navExact("E", "const"); |
| 23 | +navExact("F", "function") |
22 | 24 |
|
23 |
| -verify.navigationItemsListContains("inner", "function", "inner", "exact"); |
| 25 | +navExact("inner", "function"); |
| 26 | + |
| 27 | +navExact("fun", "function"); |
| 28 | +navExact("cls", "class"); |
| 29 | +navExact("prop", "property"); |
0 commit comments