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

7 lines
234 B
Text
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/types/primitives/string/assignFromStringInterface.ts (1 errors) ====
var x = '';
var a: String;
x = a;
~
!!! error TS2323: Type 'String' is not assignable to type 'string'.
2014-07-13 01:04:16 +02:00
a = x;