Skip to content

Commit 37bfa91

Browse files
committed
Accept new baselines
1 parent d6d1533 commit 37bfa91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/baselines/reference/narrowingUnionToUnion.types

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function fx2<T>(x: T | undefined) {
3232
>x : T | undefined
3333

3434
x; // T & Falsy | undefined
35-
>x : (T & undefined) | (T & null) | (T & false) | (T & "") | (T & 0) | (T & 0n) | undefined
35+
>x : (T & null) | (T & false) | (T & "") | (T & 0) | (T & 0n) | undefined
3636
}
3737
}
3838

tests/baselines/reference/unionAndIntersectionInference1.types

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function foo1<a>(value: void|a): void {
9191
>value : void | a
9292

9393
value; // value is void
94-
>value : void | (a & void)
94+
>value : void
9595

9696
} else {
9797
value; // value is a

0 commit comments

Comments
 (0)