fix(docs): `rxjs/add/operators/map` -> `rxjs/add/operator/map` (no 's').

Was it with 's' before?
This commit is contained in:
tycho01 2015-12-20 10:44:23 +08:00 committed by Alex Eagle
parent 31b819e9c2
commit 2a302aa73a
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ import * as core from 'angular2/core';
* Operators and Observables from RxJS (e.g. .map(), .toArray(), .toPromise(), etc ) now need to be explicitly imported (once per operator in your app)
```
import {Observable} from 'rxjs/Observable';
import 'rxjs/add/operators/map';
import 'rxjs/add/operator/map';
import 'rxjs/add/observable/interval';
Observable.interval(1000).subscribe(...);