14 lines
209 B
Text
14 lines
209 B
Text
|
=== tests/cases/compiler/voidOperator1.ts ===
|
||
|
var x: any = void 1;
|
||
|
>x : any
|
||
|
>void 1 : undefined
|
||
|
|
||
|
var y: void = void 1;
|
||
|
>y : void
|
||
|
>void 1 : undefined
|
||
|
|
||
|
var z = void 1;
|
||
|
>z : any
|
||
|
>void 1 : undefined
|
||
|
|