Type ‘Object’ must have a ‘[Symbol.iterator]()’ method that returns an iterator. error in typescript
This error occurs when you try to spread an Object into an array. To resolve this error kindly read our article and you will definitely get the solution.