Files
tsgo/testdata/baselines/reference/submodule/conformance/for-inStatementsDestructuring3.errors.txt

8 lines
352 B
Plaintext

for-inStatementsDestructuring3.ts(2,6): error TS2491: The left-hand side of a 'for...in' statement cannot be a destructuring pattern.
==== for-inStatementsDestructuring3.ts (1 errors) ====
var a, b;
for ([a, b] in []) { }
~~~~~~
!!! error TS2491: The left-hand side of a 'for...in' statement cannot be a destructuring pattern.