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

7 lines
227 B
Plaintext
Raw Normal View History

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;
~
!!! Type 'Boolean' is not assignable to type 'boolean'.
a = x;