mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
BREAKING CHANGE: toPromise is no longer an instance method of the `Observable` returned by Angular, and fromPromise is no longer available as a static method. The easiest way to account for this change in applications is to import the auto-patching modules from rxjs, which will automatically add these operators back to the Observable prototype. ``` import 'rxjs/add/operator/toPromise'; import 'rxjs/add/observable/fromPromise'; ``` Closes #5542 Closes #5626 |
||
|---|---|---|
| .. | ||
| animate | ||
| common | ||
| compiler | ||
| core | ||
| facade | ||
| http | ||
| mock | ||
| platform | ||
| router | ||
| symbol_inspector | ||
| testing | ||
| upgrade | ||
| web_workers | ||
| dev_mode_spec.ts | ||
| public_api_spec.ts | ||