mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 01:04:49 -05:00
Add tests
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user