did you try with this import? it works for me
import {Observable} from 'rxjs/Rx';
import 'rxjs/add/operator/map';
More Related Contents:
- Angular 2 – Return data directly from an Observable
- How to return value from function which has Observable subscription inside?
- Chaining RxJS Observables from http data in Angular2 with TypeScript
- Angular 2 beta.17: Property ‘map’ does not exist on type ‘Observable’
- RxJs get value from observable
- How to create an Observable from static data similar to http one in Angular?
- RxJs Array of Observable to Observable of Array
- Angular 2 custom form input
- Angular 2: Convert Observable to Promise
- Angular2 – should private variables be accessible in the template?
- How to prepare release version with SystemJS and Gulp?
- Angular2 canActivate() calling async function
- Angular 2 View will not update after variable change in subscribe
- Angular2 – Share data between components using services
- Accessing a property in a parent Component
- How to make a sequence of http requests in Angular 6 using RxJS
- Visual Studio Code Automatic Imports
- TypeError: You provided an invalid object where a stream was expected. You can provide an Observable, Promise, Array, or Iterable
- Get route query params
- Rxjs Retry with Delay function
- Subscribing to a nested Observable
- How to return observable from subscribe
- Angular 2 ngModel in child component updates parent component property
- How to implement Custom Async Validator in Angular2/4/5
- Import gapi.auth2 in angular 2 typescript
- Angular 2 loader on each http request
- What exactly $event object do in Angular 2?
- How to pass results between chained observables
- How to place a dynamic component in a container
- Access Meta-Annotation inside Class (TypeScript)