array.map is not a function typescript code example
Example: array type object ,map is not a funcction in typescript
Adding > 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.