TypeScript/tests/baselines/reference/assignFromBooleanInterface.errors.txt

10 lines
397 B
Plaintext
Raw Normal View History

2014-11-05 21:26:03 +01:00
tests/cases/conformance/types/primitives/boolean/assignFromBooleanInterface.ts(3,1): error TS2322: Type 'Boolean' is not assignable to type 'boolean'.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/types/primitives/boolean/assignFromBooleanInterface.ts (1 errors) ====
var x = true;
var a: Boolean;
x = a;
~
2014-11-05 21:26:03 +01:00
!!! error TS2322: Type 'Boolean' is not assignable to type 'boolean'.
2014-07-13 01:04:16 +02:00
a = x;