TypeScript/tests/baselines/reference/validVoidAssignments.types

26 lines
296 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/conformance/types/primitives/void/validVoidAssignments.ts ===
var x: void;
>x : void
2014-08-15 23:33:16 +02:00
var y: any;
>y : any
2014-08-15 23:33:16 +02:00
var z: void;
>z : void
2014-08-15 23:33:16 +02:00
y = x;
>y = x : void
>y : any
>x : void
2014-08-15 23:33:16 +02:00
x = y;
>x = y : any
>x : void
>y : any
2014-08-15 23:33:16 +02:00
x = z;
>x = z : void
>x : void
>z : void
2014-08-15 23:33:16 +02:00