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