mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
update expected output
This commit is contained in:
@@ -3,7 +3,8 @@ exprType
|
||||
| tst.ts:2:5:2:21 | stringOrUndefined | string \| undefined |
|
||||
| tst.ts:3:5:3:27 | stringO ... defined | string \| null \| undefined |
|
||||
| tst.ts:4:5:4:16 | stringOrVoid | string \| void |
|
||||
| tst.ts:7:5:7:21 | stringOrNullAlias | string \| null |
|
||||
| tst.ts:7:5:7:21 | stringOrNullAlias | StringOrNullAlias |
|
||||
| tst.ts:8:5:8:32 | stringO ... defined | string \| null \| undefined |
|
||||
| tst.ts:10:5:10:23 | arrayOfStringOrNull | (string \| null)[] |
|
||||
unaliasedType
|
||||
| StringOrNullAlias | string \| null |
|
||||
|
||||
@@ -3,16 +3,16 @@ rightHandSide
|
||||
| tst.ts:2:1:2:16 | type B<T> = T[]; | T[] |
|
||||
| tst.ts:8:10:8:20 | type C = A; | number |
|
||||
| tst.ts:15:1:15:23 | type Un ... \| Two; | One \| Two |
|
||||
| tst.ts:17:1:17:36 | type Un ... mber }; | (One & { x: number; }) \| (Two & { x: number; }) |
|
||||
| tst.ts:18:1:18:21 | type Un ... Union2; | (One & { x: number; }) \| (Two & { x: number; }) |
|
||||
| tst.ts:19:1:19:21 | type Un ... Union3; | (One & { x: number; }) \| (Two & { x: number; }) |
|
||||
| tst.ts:20:1:20:30 | type Un ... number; | number \| (One & { x: number; }) \| (Two & { x: n... |
|
||||
| tst.ts:17:1:17:36 | type Un ... mber }; | Union & { x: number; } |
|
||||
| tst.ts:18:1:18:21 | type Un ... Union2; | Union & { x: number; } |
|
||||
| tst.ts:19:1:19:21 | type Un ... Union3; | Union & { x: number; } |
|
||||
| tst.ts:20:1:20:30 | type Un ... number; | number \| Union2 |
|
||||
getAliasedType
|
||||
| B<T> | T[] |
|
||||
| B<number> | number[] |
|
||||
| Union | One \| Two |
|
||||
| Union2 | (One & { x: number; }) \| (Two & { x: number; }) |
|
||||
| Union5 | number \| (One & { x: number; }) \| (Two & { x: n... |
|
||||
| Union2 | Union & { x: number; } |
|
||||
| Union5 | number \| Union2 |
|
||||
getTypeArgument
|
||||
| B<T> | 0 | T |
|
||||
| B<number> | 0 | number |
|
||||
|
||||
Reference in New Issue
Block a user