TypeScript/tests/baselines/reference/typeofStrictNull.js
Slawomir Sadziak 498568b16f #13063 Fix strictNullChecks breaking typeof
* Allow typeof to use not-auto variable in strictNullChecks mode
2016-12-28 05:18:53 +01:00

9 lines
108 B
TypeScript

//// [typeofStrictNull.ts]
let a: number;
let b: typeof a;
//// [typeofStrictNull.js]
var a;
var b;