Files

8 lines
216 B
Plaintext

a.js(2,1): error TS2322: Type 'number' is not assignable to type 'string'.
==== a.js (1 errors) ====
var x = "string";
x = 0;
~
!!! error TS2322: Type 'number' is not assignable to type 'string'.