TypeScript/tests/baselines/reference/validVoidValues.types
2015-04-13 14:29:37 -07:00

15 lines
386 B
Plaintext

=== tests/cases/conformance/types/primitives/void/validVoidValues.ts ===
var x: void;
>x : void, Symbol(x, Decl(validVoidValues.ts, 0, 3))
x = undefined;
>x = undefined : undefined
>x : void, Symbol(x, Decl(validVoidValues.ts, 0, 3))
>undefined : undefined, Symbol(undefined)
x = null;
>x = null : null
>x : void, Symbol(x, Decl(validVoidValues.ts, 0, 3))
>null : null