* Dive into simple arrow functions when elaborating errors * Dive into array literals as though they were tuples when elaborating, if possible * Make parameter required * Remove misleading errors by deeply tuplefying * Remove lib related spans
8 lines
No EOL
341 B
Text
8 lines
No EOL
341 B
Text
tests/cases/conformance/es6/for-ofStatements/for-of10.ts(2,12): error TS2322: Type 'number' is not assignable to type 'string'.
|
|
|
|
|
|
==== tests/cases/conformance/es6/for-ofStatements/for-of10.ts (1 errors) ====
|
|
var v: string;
|
|
for (v of [0]) { }
|
|
~
|
|
!!! error TS2322: Type 'number' is not assignable to type 'string'. |