7 lines
374 B
Plaintext
7 lines
374 B
Plaintext
tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck12.ts(1,17): error TS2495: Type 'number' is not an array type or a string type.
|
|
|
|
|
|
==== tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck12.ts (1 errors) ====
|
|
for (const v of 0) { }
|
|
~
|
|
!!! error TS2495: Type 'number' is not an array type or a string type. |