File tree Expand file tree Collapse file tree
javascript/ql/test/library-tests/TypeScript Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33| tst.ts:2:5:2:21 | stringOrUndefined | string \| undefined |
44| tst.ts:3:5:3:27 | stringO ... defined | string \| null \| undefined |
55| tst.ts:4:5:4:16 | stringOrVoid | string \| void |
6- | tst.ts:7:5:7:21 | stringOrNullAlias | string \| null |
6+ | tst.ts:7:5:7:21 | stringOrNullAlias | StringOrNullAlias |
77| tst.ts:8:5:8:32 | stringO ... defined | string \| null \| undefined |
88| tst.ts:10:5:10:23 | arrayOfStringOrNull | (string \| null)[] |
99unaliasedType
10+ | StringOrNullAlias | string \| null |
Original file line number Diff line number Diff line change @@ -3,16 +3,16 @@ rightHandSide
33| tst.ts:2:1:2:16 | type B<T> = T[]; | T[] |
44| tst.ts:8:10:8:20 | type C = A; | number |
55| tst.ts:15:1:15:23 | type Un ... \| Two; | One \| Two |
6- | tst.ts:17:1:17:36 | type Un ... mber }; | (One & { x: number; }) \| (Two & { x: number; }) |
7- | tst.ts:18:1:18:21 | type Un ... Union2; | (One & { x: number; }) \| (Two & { x: number; }) |
8- | tst.ts:19:1:19:21 | type Un ... Union3; | (One & { x: number; }) \| (Two & { x: number; }) |
9- | tst.ts:20:1:20:30 | type Un ... number; | number \| (One & { x: number; }) \| (Two & { x: n... |
6+ | tst.ts:17:1:17:36 | type Un ... mber }; | Union & { x: number; } |
7+ | tst.ts:18:1:18:21 | type Un ... Union2; | Union & { x: number; } |
8+ | tst.ts:19:1:19:21 | type Un ... Union3; | Union & { x: number; } |
9+ | tst.ts:20:1:20:30 | type Un ... number; | number \| Union2 |
1010getAliasedType
1111| B<T> | T[] |
1212| B<number> | number[] |
1313| Union | One \| Two |
14- | Union2 | (One & { x: number; }) \| (Two & { x: number; }) |
15- | Union5 | number \| (One & { x: number; }) \| (Two & { x: n... |
14+ | Union2 | Union & { x: number; } |
15+ | Union5 | number \| Union2 |
1616getTypeArgument
1717| B<T> | 0 | T |
1818| B<number> | 0 | number |
You can’t perform that action at this time.
0 commit comments