TypeScript/tests/baselines/reference/validBooleanAssignments.types

24 lines
365 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/conformance/types/primitives/boolean/validBooleanAssignments.ts ===
var x = true;
>x : boolean
2015-04-13 21:36:11 +02:00
>true : boolean
2014-08-15 23:33:16 +02:00
var a: any = x;
>a : any
>x : boolean
2014-08-15 23:33:16 +02:00
var b: Object = x;
>b : Object
>Object : Object
>x : boolean
2014-08-15 23:33:16 +02:00
var c: Boolean = x;
>c : Boolean
>Boolean : Boolean
>x : boolean
2014-08-15 23:33:16 +02:00
var d: boolean = x;
>d : boolean
>x : boolean
2014-08-15 23:33:16 +02:00