mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
234 B
Plaintext
9 lines
234 B
Plaintext
a.js(3,1): error TS2322: Type 'number' is not assignable to type 'string'.
|
|
|
|
|
|
==== a.js (1 errors) ====
|
|
// @ts-check
|
|
var x = "string";
|
|
x = 0;
|
|
~
|
|
!!! error TS2322: Type 'number' is not assignable to type 'string'. |