23 lines
843 B
Plaintext
23 lines
843 B
Plaintext
=== 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, --, --), Decl(lib.d.ts, --, --))
|
|
>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, --, --), Decl(lib.d.ts, --, --))
|
|
>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))
|
|
|