22 lines
845 B
Text
22 lines
845 B
Text
=== tests/cases/conformance/types/primitives/boolean/validBooleanAssignments.ts ===
|
|
var x = true;
|
|
>x : Symbol(x, Decl(validBooleanAssignments.ts, 0, 3))
|
|
|
|
var a: any = x;
|
|
>a : Symbol(a, Decl(validBooleanAssignments.ts, 2, 3))
|
|
>x : Symbol(x, Decl(validBooleanAssignments.ts, 0, 3))
|
|
|
|
var b: Object = x;
|
|
>b : Symbol(b, Decl(validBooleanAssignments.ts, 3, 3))
|
|
>Object : Symbol(Object, Decl(lib.d.ts, 92, 1), Decl(lib.d.ts, 223, 11))
|
|
>x : Symbol(x, Decl(validBooleanAssignments.ts, 0, 3))
|
|
|
|
var c: Boolean = x;
|
|
>c : Symbol(c, Decl(validBooleanAssignments.ts, 4, 3))
|
|
>Boolean : Symbol(Boolean, Decl(lib.d.ts, 443, 38), Decl(lib.d.ts, 456, 11))
|
|
>x : Symbol(x, Decl(validBooleanAssignments.ts, 0, 3))
|
|
|
|
var d: boolean = x;
|
|
>d : Symbol(d, Decl(validBooleanAssignments.ts, 5, 3))
|
|
>x : Symbol(x, Decl(validBooleanAssignments.ts, 0, 3))
|
|
|