mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
638 B
Plaintext
19 lines
638 B
Plaintext
//// [tests/cases/conformance/types/primitives/boolean/assignFromBooleanInterface.ts] ////
|
|
|
|
=== assignFromBooleanInterface.ts ===
|
|
var x = true;
|
|
>x : Symbol(x, Decl(assignFromBooleanInterface.ts, 0, 3))
|
|
|
|
declare var a: Boolean;
|
|
>a : Symbol(a, Decl(assignFromBooleanInterface.ts, 1, 11))
|
|
>Boolean : Symbol(Boolean, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
|
|
|
x = a;
|
|
>x : Symbol(x, Decl(assignFromBooleanInterface.ts, 0, 3))
|
|
>a : Symbol(a, Decl(assignFromBooleanInterface.ts, 1, 11))
|
|
|
|
a = x;
|
|
>a : Symbol(a, Decl(assignFromBooleanInterface.ts, 1, 11))
|
|
>x : Symbol(x, Decl(assignFromBooleanInterface.ts, 0, 3))
|
|
|