docs: update docs to reflect the changes in RxJS 6 (#26238)

PR Close #26238
This commit is contained in:
siddhant
2018-10-03 23:52:21 +05:30
committed by Jason Aden
parent 5a31bde649
commit 0bdea1f69c
2 changed files with 6 additions and 5 deletions

View File

@ -4,7 +4,7 @@ import { Observable, of } from 'rxjs';
// #docregion observer
// Create simple observable that emits three values
const myObservable = Observable.of(1, 2, 3);
const myObservable = of(1, 2, 3);
// Create observer object
const myObserver = {