fix(changelog): correct import path

Closes #5681
This commit is contained in:
Rob Wormald 2015-12-07 14:45:50 -08:00
parent 7f0925eb2b
commit 86c74cf3f3
1 changed files with 3 additions and 3 deletions

View File

@ -48,12 +48,12 @@ 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) * 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 'angular2/angular2/' import {Observable} from 'angular2/angular2'
import 'rxjs/operators/map'; import 'rxjs/operators/map';
import 'rxjs/observable/interval' import 'rxjs/observable/interval'
Observable.interval(1000).subscribe(...); Observable.interval(1000).subscribe(...);
http.get('foos.json').map(res => res.json()).subscribe(...); http.get('foos.json').map(res => res.json()).subscribe(...);
``` ```