TypeScript/tests/baselines/reference/typeofStrictNull.types
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

10 lines
129 B
Plaintext

=== tests/cases/compiler/typeofStrictNull.ts ===
let a: number;
>a : number
let b: typeof a;
>b : number
>a : number