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-09-12 22:35:07 +02:00
|
|
|
|
|
|
|
|
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;
|