2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/conformance/types/primitives/boolean/assignFromBooleanInterface.ts(3,1): error TS2323: 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-09-12 00:19:57 +02:00
|
|
|
!!! error TS2323: Type 'Boolean' is not assignable to type 'boolean'.
|
2014-07-13 01:04:16 +02:00
|
|
|
a = x;
|