TypeError: users.map is not a function code example
Example: array type object ,map is not a funcction in typescript
Adding <Array<Item>> won't actually turn the object into an array, its just a cast to tell typescript to think of it as an array and doesn't effect the produced javascript at all.