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