TypeScript/tests/baselines/reference/typeofStrictNull.symbols
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
237 B
Plaintext

=== tests/cases/compiler/typeofStrictNull.ts ===
let a: number;
>a : Symbol(a, Decl(typeofStrictNull.ts, 1, 3))
let b: typeof a;
>b : Symbol(b, Decl(typeofStrictNull.ts, 2, 3))
>a : Symbol(a, Decl(typeofStrictNull.ts, 1, 3))