Adding regression test
This commit is contained in:
parent
586ac55fb4
commit
cd88f1ea32
1 changed files with 2 additions and 0 deletions
|
@ -37,7 +37,9 @@ function e() {
|
|||
let x: string | number;
|
||||
x = "";
|
||||
while (cond) {
|
||||
x; // string | number
|
||||
x = 42;
|
||||
x; // number
|
||||
}
|
||||
x; // string | number
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue