mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 20:25:23 -06:00
Add tests
This commit is contained in:
parent
9fb06c60a8
commit
f701b1300f
@ -6,6 +6,7 @@ function f1() {
|
||||
x = undefined;
|
||||
x = null;
|
||||
x = {};
|
||||
x();
|
||||
}
|
||||
|
||||
function f2(): never {
|
||||
|
||||
@ -8,6 +8,7 @@ function f1() {
|
||||
x = undefined;
|
||||
x = null;
|
||||
x = {};
|
||||
x();
|
||||
}
|
||||
|
||||
function f2(): never {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user