9 lines
No EOL
288 B
Text
9 lines
No EOL
288 B
Text
tests/cases/compiler/noEmitOnError.ts(2,5): error TS2322: Type 'string' is not assignable to type 'number'.
|
|
|
|
|
|
==== tests/cases/compiler/noEmitOnError.ts (1 errors) ====
|
|
|
|
var x: number = "";
|
|
~
|
|
!!! error TS2322: Type 'string' is not assignable to type 'number'.
|
|
|