Skip to content

Commit 766cb83

Browse files
committed
Accept new baselines
1 parent abe4323 commit 766cb83

File tree

2 files changed

+4
-189
lines changed

2 files changed

+4
-189
lines changed

tests/baselines/reference/discriminantPropertyCheck.errors.txt

Lines changed: 0 additions & 185 deletions
This file was deleted.

tests/baselines/reference/discriminantPropertyCheck.types

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ function goo2(x: Item) {
8282

8383
x.foo.length; // Error, intervening discriminant guard
8484
>x.foo.length : number
85-
>x.foo : string | undefined
85+
>x.foo : string
8686
>x : Item1
87-
>foo : string | undefined
87+
>foo : string
8888
>length : number
8989
}
9090
}
@@ -226,9 +226,9 @@ function foo6(x: Item) {
226226

227227
x.foo.length; // Error, intervening discriminant guard
228228
>x.foo.length : number
229-
>x.foo : string | undefined
229+
>x.foo : string
230230
>x : Item1
231-
>foo : string | undefined
231+
>foo : string
232232
>length : number
233233
}
234234
}

0 commit comments

Comments
 (0)