mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor: replace first operator usages (#8352)
Replaces all usages of the `first` operator with `take(1)` in order to avoid some cryptic errors that `first` throws when the observable completes before it has emitted a value.
This commit is contained in:
committed by
Jeremy Elbourn
parent
2cf3860e59
commit
623be22e58
@@ -74,6 +74,7 @@ export const rollupGlobals = {
|
||||
'rxjs/operators/debounceTime': 'Rx.Observable',
|
||||
'rxjs/operators/takeUntil': 'Rx.Observable',
|
||||
'rxjs/operators/first': 'Rx.Observable',
|
||||
'rxjs/operators/take': 'Rx.Observable',
|
||||
'rxjs/operators/filter': 'Rx.Observable',
|
||||
'rxjs/operators/map': 'Rx.Observable',
|
||||
'rxjs/operators/tap': 'Rx.Observable',
|
||||
|
||||
Reference in New Issue
Block a user