7 lines
No EOL
220 B
Text
7 lines
No EOL
220 B
Text
==== tests/cases/conformance/types/primitives/string/assignFromStringInterface.ts (1 errors) ====
|
|
var x = '';
|
|
var a: String;
|
|
x = a;
|
|
~
|
|
!!! Type 'String' is not assignable to type 'string'.
|
|
a = x; |