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