2015-03-18 06:56:45 +01:00
|
|
|
tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck12.ts(1,17): error TS2495: Type 'number' is not an array type or a string type.
|
2015-03-12 22:56:58 +01:00
|
|
|
|
|
|
|
|
|
|
|
==== tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck12.ts (1 errors) ====
|
|
|
|
for (const v of 0) { }
|
|
|
|
~
|
2015-03-18 06:56:45 +01:00
|
|
|
!!! error TS2495: Type 'number' is not an array type or a string type.
|