15 lines
386 B
Plaintext
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
|
|
|