mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
8 lines
352 B
Plaintext
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. |