Property 'map' does not exist on type 'Observable' after upgrading rxjs to 6
问题 I upgraded my Angular application from version 5.2 to 6.0 with the instructions from https://update.angular.io. Now my Angular application doesn't build because of the "rxjs-5-to-6-migrate" migration: ERROR in bla.ts: error TS2339: Property 'map' does not exist on type 'Observable'. I have the following imports: import { Observable } from 'rxjs/observable'; import { of } from 'rxjs/observable/of'; import { map } from 'rxjs/operators'; If I change the imports like this it works: import {