14 lines
224 B
Text
14 lines
224 B
Text
|
=== tests/cases/conformance/types/primitives/void/validVoidValues.ts ===
|
||
|
var x: void;
|
||
|
>x : void
|
||
|
|
||
|
x = undefined;
|
||
|
>x = undefined : undefined
|
||
|
>x : void
|
||
|
>undefined : undefined
|
||
|
|
||
|
x = null;
|
||
|
>x = null : null
|
||
|
>x : void
|
||
|
|