TypeScript/tests/baselines/reference/validVoidValues.types

15 lines
386 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/conformance/types/primitives/void/validVoidValues.ts ===
var x: void;
2015-04-13 23:01:57 +02:00
>x : void, Symbol(x, Decl(validVoidValues.ts, 0, 3))
2014-08-15 23:33:16 +02:00
x = undefined;
>x = undefined : undefined
2015-04-13 23:01:57 +02:00
>x : void, Symbol(x, Decl(validVoidValues.ts, 0, 3))
>undefined : undefined, Symbol(undefined)
2014-08-15 23:33:16 +02:00
x = null;
>x = null : null
2015-04-13 23:01:57 +02:00
>x : void, Symbol(x, Decl(validVoidValues.ts, 0, 3))
2015-04-13 21:36:11 +02:00
>null : null
2014-08-15 23:33:16 +02:00