TypeScript/tests/cases/compiler/typeofStrictNull.ts
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

4 lines
62 B
TypeScript

// @strictNullChecks: true
let a: number;
let b: typeof a;