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

Skip to content

Commit ed47697

Browse files
committed
update expected output
1 parent 5091bb6 commit ed47697

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ exprType
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)[] |
99
unaliasedType
10+
| StringOrNullAlias | string \| null |

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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 |
1010
getAliasedType
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 |
1616
getTypeArgument
1717
| B<T> | 0 | T |
1818
| B<number> | 0 | number |

0 commit comments

Comments
 (0)