TypeScript/tests/baselines/reference/validVoidValues.js
2014-07-12 17:30:19 -07:00

10 lines
130 B
TypeScript

//// [validVoidValues.ts]
var x: void;
x = undefined;
x = null;
//// [validVoidValues.js]
var x;
x = undefined;
x = null;