Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 16a2177

Browse files
committed
JS: update tests
1 parent d7f0099 commit 16a2177

6 files changed

Lines changed: 0 additions & 14 deletions

File tree

javascript/ql/test/library-tests/TypeScript/ArrayTypes/ArrayTypes.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
| (T \| ConcatArray<T>)[] | `T \| ConcatArray<T>` |
22
| (number \| ConcatArray<number>)[] | `number \| ConcatArray<number>` |
3-
| (string \| ConcatArray<string>)[] | `string \| ConcatArray<string>` |
43
| (string \| number \| ConcatArray<string \| number>)[] | `string \| number \| ConcatArray<string \| number>` |
54
| (string \| number)[] | `string \| number` |
65
| ConcatArray<T>[] | `ConcatArray<T>` |
76
| ConcatArray<number>[] | `ConcatArray<number>` |
87
| ConcatArray<string \| number>[] | `ConcatArray<string \| number>` |
9-
| ConcatArray<string>[] | `ConcatArray<string>` |
108
| ReadonlyArray<T> | `T` |
119
| ReadonlyArray<number> | `number` |
1210
| S[] | `S` |
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
| (T \| ConcatArray<T>)[] | T \| ConcatArray<T> |
22
| (number \| ConcatArray<number>)[] | number \| ConcatArray<number> |
3-
| (string \| ConcatArray<string>)[] | string \| ConcatArray<string> |
43
| (string \| number \| ConcatArray<string \| number>)[] | string \| number \| ConcatArray<string \| number> |
54
| (string \| number)[] | string \| number |
65
| ConcatArray<T>[] | ConcatArray<T> |
76
| ConcatArray<number>[] | ConcatArray<number> |
87
| ConcatArray<string \| number>[] | ConcatArray<string \| number> |
9-
| ConcatArray<string>[] | ConcatArray<string> |
108
| NumberIndexable | object |
119
| ReadonlyArray<T> | T |
1210
| ReadonlyArray<number> | number |
@@ -17,6 +15,4 @@
1715
| any[] | any |
1816
| number[] | number |
1917
| string | string |
20-
| string \| ConcatArray<string> | string |
21-
| string \| string[] | string |
2218
| string[] | string |

javascript/ql/test/library-tests/TypeScript/BaseTypes/SelfTypes.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
| CStringSub | CStringSub |
99
| CSub | CSub |
1010
| CollatorOptions | CollatorOptions |
11-
| Function | Function |
1211
| IBase | IBase |
1312
| IEmpty | IEmpty |
1413
| IEmptySub | IEmptySub |
@@ -18,6 +17,5 @@
1817
| IStringSub | IStringSub |
1918
| ISub | ISub |
2019
| NumberFormatOptions | NumberFormatOptions |
21-
| Object | Object |
2220
| RegExp | RegExp |
2321
| RegExpMatchArray | RegExpMatchArray |

javascript/ql/test/library-tests/TypeScript/ExpansiveTypes/NonExpansiveTypes.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
| ExpansiveSignature in expansive_signature.ts | has properties |
2727
| ExpansiveSignatureTypeBound in expansive_signature.ts | has properties |
2828
| ExpansiveX in used_from_expansion.ts | has properties |
29-
| Function in global scope | has properties |
3029
| Intl.CollatorOptions in global scope | has properties |
3130
| Intl.NumberFormatOptions in global scope | has properties |
3231
| NonExpansive in shared_non_expansive.ts | has properties |
33-
| Object in global scope | has properties |
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
| Function | Function |
21
| Intl.CollatorOptions | CollatorOptions |
32
| Intl.NumberFormatOptions | NumberFormatOptions |
43
| LegacyGlobals.LegacySubclass | LegacySubclass |
54
| Modern.ModernClass | ModernClass |
65
| ModernGlobals.ModernSubclass | ModernSubclass |
7-
| Object | Object |
86
| RegExp | RegExp |
97
| RegExpMatchArray | RegExpMatchArray |
108
| __Legacy.LegacyClass | LegacyClass |

javascript/ql/test/library-tests/TypeScript/ExternalTypes/Types.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22
| CollatorOptions | has no definition |
33
| ExternalType1 | has no definition |
44
| ExternalType2 | has no definition |
5-
| Function | has no definition |
65
| InternalType | defined in client_esmodule.ts |
76
| LegacyClass | has no definition |
87
| LegacySubclass | has no definition |
98
| ModernClass | has no definition |
109
| ModernSubclass | has no definition |
1110
| NumberFormatOptions | has no definition |
12-
| Object | has no definition |
1311
| OtherClass | has no definition |
1412
| RegExp | has no definition |
1513
| RegExpMatchArray | has no definition |

0 commit comments

Comments
 (0)