7 lines
No EOL
447 B
Text
7 lines
No EOL
447 B
Text
tests/cases/conformance/statements/for-inStatements/for-inStatementsDestructuring.ts(1,10): error TS2491: The left-hand side of a 'for...in' statement cannot be a destructuring pattern.
|
|
|
|
|
|
==== tests/cases/conformance/statements/for-inStatements/for-inStatementsDestructuring.ts (1 errors) ====
|
|
for (var [a, b] in []) {}
|
|
~~~~~~
|
|
!!! error TS2491: The left-hand side of a 'for...in' statement cannot be a destructuring pattern. |