Add tests
This commit is contained in:
parent
9fb06c60a8
commit
f701b1300f
|
@ -6,6 +6,7 @@ function f1() {
|
||||||
x = undefined;
|
x = undefined;
|
||||||
x = null;
|
x = null;
|
||||||
x = {};
|
x = {};
|
||||||
|
x();
|
||||||
}
|
}
|
||||||
|
|
||||||
function f2(): never {
|
function f2(): never {
|
||||||
|
|
|
@ -8,6 +8,7 @@ function f1() {
|
||||||
x = undefined;
|
x = undefined;
|
||||||
x = null;
|
x = null;
|
||||||
x = {};
|
x = {};
|
||||||
|
x();
|
||||||
}
|
}
|
||||||
|
|
||||||
function f2(): never {
|
function f2(): never {
|
||||||
|
|
Loading…
Reference in a new issue