TypeScript/tests/baselines/reference/assignFromBooleanInterface.errors.txt
2014-09-11 16:11:08 -07:00

7 lines
241 B
Plaintext

==== tests/cases/conformance/types/primitives/boolean/assignFromBooleanInterface.ts (1 errors) ====
var x = true;
var a: Boolean;
x = a;
~
!!! error TS2323: Type 'Boolean' is not assignable to type 'boolean'.
a = x;