Skip to content

Commit 11435a7

Browse files
committed
TypeScript: update related test output
1 parent ba64aea commit 11435a7

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@
7575
| tst.ts:33:5:33:16 | intersection | string & { x: string; } |
7676
| tst.ts:33:29:33:29 | x | string |
7777
| tst.ts:34:5:34:9 | tuple | [number, string] |
78+
| tst.ts:36:5:36:28 | tupleWi ... Element | [number, string, number?] |
79+
| tst.ts:37:5:37:14 | emptyTuple | [] |
80+
| tst.ts:38:5:38:24 | tupleWithRestElement | [number, ...string[]] |
81+
| tst.ts:39:5:39:36 | tupleWi ... lements | [number, string?, ...number[]] |
82+
| tst.ts:40:5:40:15 | unknownType | unknown |
7883
| type_alias.ts:3:5:3:5 | b | boolean |
7984
| type_definition_objects.ts:1:13:1:17 | dummy | typeof dummy.ts |
8085
| type_definition_objects.ts:1:24:1:32 | "./dummy" | any |

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,25 @@
4949
| tst.ts:34:12:34:27 | [number, string] | [number, string] |
5050
| tst.ts:34:13:34:18 | number | number |
5151
| tst.ts:34:21:34:26 | string | string |
52+
| tst.ts:36:31:36:55 | [number ... umber?] | [number, string, number?] |
53+
| tst.ts:36:32:36:37 | number | number |
54+
| tst.ts:36:40:36:45 | string | string |
55+
| tst.ts:36:48:36:53 | number | number |
56+
| tst.ts:36:48:36:54 | number? | number |
57+
| tst.ts:37:17:37:18 | [] | [] |
58+
| tst.ts:38:27:38:47 | [number ... ring[]] | [number, ...string[]] |
59+
| tst.ts:38:28:38:33 | number | number |
60+
| tst.ts:38:36:38:46 | ...string[] | string[] |
61+
| tst.ts:38:39:38:44 | string | string |
62+
| tst.ts:38:39:38:46 | string[] | string[] |
63+
| tst.ts:39:39:39:68 | [number ... mber[]] | [number, string?, ...number[]] |
64+
| tst.ts:39:40:39:45 | number | number |
65+
| tst.ts:39:48:39:53 | string | string |
66+
| tst.ts:39:48:39:54 | string? | string |
67+
| tst.ts:39:57:39:67 | ...number[] | number[] |
68+
| tst.ts:39:60:39:65 | number | number |
69+
| tst.ts:39:60:39:67 | number[] | number[] |
70+
| tst.ts:40:18:40:24 | unknown | unknown |
5271
| type_alias.ts:1:6:1:6 | B | boolean |
5372
| type_alias.ts:1:10:1:16 | boolean | boolean |
5473
| type_alias.ts:3:8:3:8 | B | boolean |

0 commit comments

Comments
 (0)