TypeScript/tests/baselines/reference/validVoidValues.types

15 lines
238 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;
>x : void
2014-08-15 23:33:16 +02:00
x = undefined;
>x = undefined : undefined
>x : void
>undefined : undefined
2014-08-15 23:33:16 +02:00
x = null;
>x = null : null
>x : void
2015-04-13 21:36:11 +02:00
>null : null
2014-08-15 23:33:16 +02:00