X Tutup
Skip to content

Commit a79fe05

Browse files
committed
fix(changelog): fix rxjs operator import paths
Closes angular#5864
1 parent b88a6d9 commit a79fe05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,9 @@ import * as core from 'angular2/core';
259259
260260
* Operators and Observables from RxJS (e.g. .map(), .toArray(), .toPromise(), etc ) now need to be explicitly imported (once per operator in your app)
261261
```
262-
import {Observable} from 'angular2/angular2'
263-
import 'rxjs/operators/map';
264-
import 'rxjs/observable/interval'
262+
import {Observable} from 'rxjs/Observable';
263+
import 'rxjs/add/operators/map';
264+
import 'rxjs/add/observable/interval';
265265

266266
Observable.interval(1000).subscribe(...);
267267

0 commit comments

Comments
 (0)
X Tutup