7 lines
No EOL
227 B
Text
7 lines
No EOL
227 B
Text
==== 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; |