TS2461
typescript Type Not an Array Type
Destructuring with array syntax was used on a value that is not typed as an array or iterable. Verify the type of the value being destructured.
Destructuring with array syntax was used on a value that is not typed as an array or iterable. Verify the type of the value being destructured.