mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
225 B
TypeScript
13 lines
225 B
TypeScript
//// [tests/cases/conformance/types/primitives/void/validVoidValues.ts] ////
|
|
|
|
//// [validVoidValues.ts]
|
|
var x: void;
|
|
x = undefined;
|
|
x = null;
|
|
|
|
//// [validVoidValues.js]
|
|
"use strict";
|
|
var x;
|
|
x = undefined;
|
|
x = null;
|