Skip to content

Commit ff70dcf

Browse files
committed
Accept new baselines
1 parent f1d8780 commit ff70dcf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/baselines/reference/inKeywordTypeguard(strict=false).types

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ function f10(x: { a: unknown }) {
902902
}
903903
else {
904904
x;
905-
>x : { a: unknown; }
905+
>x : never
906906
}
907907
}
908908

@@ -921,7 +921,7 @@ function f11(x: { a: any }) {
921921
}
922922
else {
923923
x;
924-
>x : { a: any; }
924+
>x : never
925925
}
926926
}
927927

tests/baselines/reference/inKeywordTypeguard(strict=true).types

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ function f10(x: { a: unknown }) {
902902
}
903903
else {
904904
x;
905-
>x : { a: unknown; }
905+
>x : never
906906
}
907907
}
908908

@@ -921,7 +921,7 @@ function f11(x: { a: any }) {
921921
}
922922
else {
923923
x;
924-
>x : { a: any; }
924+
>x : never
925925
}
926926
}
927927

@@ -978,7 +978,7 @@ function f14(x: { a: string | undefined }) {
978978
}
979979
else {
980980
x;
981-
>x : { a: string | undefined; }
981+
>x : never
982982
}
983983
}
984984

0 commit comments

Comments
 (0)