mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
7 lines
372 B
Plaintext
7 lines
372 B
Plaintext
iterableArrayPattern22.ts(1,5): error TS2488: Type '{ 0: string; 1: boolean; }' must have a '[Symbol.iterator]()' method that returns an iterator.
|
|
|
|
|
|
==== iterableArrayPattern22.ts (1 errors) ====
|
|
var [...a] = { 0: "", 1: true };
|
|
~~~~~~
|
|
!!! error TS2488: Type '{ 0: string; 1: boolean; }' must have a '[Symbol.iterator]()' method that returns an iterator. |