11 lines
No EOL
112 B
TypeScript
11 lines
No EOL
112 B
TypeScript
//@target: ES6
|
|
enum E { }
|
|
var x: symbol | E;
|
|
|
|
x;
|
|
if (typeof x === "number") {
|
|
x;
|
|
}
|
|
else {
|
|
x;
|
|
} |