fix(changelog): fix rxjs operator import paths

Closes #5864
This commit is contained in:
Tamas Csaba 2015-12-13 12:45:19 +01:00 committed by Tamás Csaba
parent b88a6d983f
commit a79fe057f9
1 changed files with 3 additions and 3 deletions

View File

@ -259,9 +259,9 @@ 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 'angular2/angular2'
import 'rxjs/operators/map';
import 'rxjs/observable/interval'
import {Observable} from 'rxjs/Observable';
import 'rxjs/add/operators/map';
import 'rxjs/add/observable/interval';
Observable.interval(1000).subscribe(...);