8 lines
404 B
Plaintext
8 lines
404 B
Plaintext
tests/cases/conformance/es6/for-ofStatements/for-of3.ts(2,6): error TS2487: The left-hand side of a 'for...of' statement must be a variable or a property access.
|
|
|
|
|
|
==== tests/cases/conformance/es6/for-ofStatements/for-of3.ts (1 errors) ====
|
|
var v: any;
|
|
for (v++ of []) { }
|
|
~~~
|
|
!!! error TS2487: The left-hand side of a 'for...of' statement must be a variable or a property access. |