Angular 6 Property 'map' does not exist on type 'Object'
问题 I have a api which return objects / array like this: (2) [{...}, {...}] object 0: {a: '1', b: {id: '1'}} 1: {a: '2', b: {id: '2'}} So it looks like array of objects (but debuges says 'Object'). So in my code I have: return this.http.get(this.url).pipe( map(datas => { return datas.map(data => { let object = { a: data['a'], b: data['b']['id'], } return object; }) }) ); but there: return datas.map(data => { I got an error: Property 'map' does not exist on type 'Object'. But application is