9 lines
266 B
Plaintext
9 lines
266 B
Plaintext
tests/cases/compiler/a.js(3,1): error TS2322: Type '0' is not assignable to type 'string'.
|
|
|
|
|
|
==== tests/cases/compiler/a.js (1 errors) ====
|
|
// @ts-check
|
|
var x = "string";
|
|
x = 0;
|
|
~
|
|
!!! error TS2322: Type '0' is not assignable to type 'string'. |