Skip to content

Commit c2f6855

Browse files
committed
JS: Update tests
1 parent cafa9ed commit c2f6855

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

javascript/ql/test/library-tests/TypeScript/TypeVariableTypes/SignatureTypeParameters.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
| <D>(x: D): D | 1 | 0 | D | no bound |
22
| <E>(x: () => E): E | 1 | 0 | E | no bound |
3+
| <E>(x: E[] \| (() => E)): E | 1 | 0 | E | no bound |
34
| <E>(x: E[]): E | 1 | 0 | E | no bound |
45
| <S extends E>(callbackfn: (value: E, index: number, array: E[]) => va... | 1 | 0 | S | no bound |
56
| <S extends T \| S>(callbackfn: (value: T \| S, index: number, array: (T... | 1 | 0 | S | no bound |

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,12 @@
6464
| tst.ts:22:29:22:29 | 2 | 2 |
6565
| tst.ts:24:5:24:9 | array | number[] |
6666
| tst.ts:26:5:26:12 | voidType | () => void |
67+
| tst.ts:26:15:26:24 | () => void | () => void |
6768
| tst.ts:27:5:27:17 | undefinedType | undefined |
6869
| tst.ts:28:5:28:12 | nullType | null |
6970
| tst.ts:28:22:28:25 | null | null |
7071
| tst.ts:29:5:29:13 | neverType | () => never |
72+
| tst.ts:29:16:29:26 | () => never | () => never |
7173
| tst.ts:30:5:30:14 | symbolType | symbol |
7274
| tst.ts:31:7:31:22 | uniqueSymbolType | typeof uniqueSymbolType |
7375
| tst.ts:31:41:31:44 | null | null |

0 commit comments

Comments
 (0)