10 lines
519 B
Plaintext
10 lines
519 B
Plaintext
tests/cases/conformance/statements/for-ofStatements/ES5For-of36.ts(1,10): error TS2548: Type 'number' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator.
|
|
|
|
|
|
==== tests/cases/conformance/statements/for-ofStatements/ES5For-of36.ts (1 errors) ====
|
|
for (let [a = 0, b = 1] of [2, 3]) {
|
|
~~~~~~~~~~~~~~
|
|
!!! error TS2548: Type 'number' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator.
|
|
a;
|
|
b;
|
|
} |