mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
635fb00969
In this commit, we reduce the number of imported RxJS symbols since they are redundant. - We replace `merge` with a manual observable because `merge` internally pulls in `from()`. - We remove `defer` and `throwError`, replacing them with `new Observable(s => s.error(..))`. - We replace `toPromise()` with `new Promise`, as `toPromise()` is deprecated. - We convert `readyToRegister` to a promise to avoid using RxJS operators like `delay`. PR Close #60657