Version 6 of Angular Now Available – Angular Blog
a photo by Manu Murthy of the Angular Team
With RxJS v5.x, your imports look as follows:
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/map';
With RxJS v6.x, they’ve changed a bit:
import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
Angular - Tutorial: Tour of Heroes
Home · angular/angular-cli Wiki @ GitHub
No comments:
Post a Comment