mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor(common): remove redundant transferCacheInterceptorFn dependencies (#59819)
The `transferCacheInterceptorFn` injects dependencies in itself; the `TransferCache` and cache options are redundant in the `deps` list. PR Close #59819
This commit is contained in:
@@ -328,7 +328,6 @@ export function withHttpTransferCache(cacheOptions: HttpTransferCacheOptions): P
|
|||||||
provide: HTTP_ROOT_INTERCEPTOR_FNS,
|
provide: HTTP_ROOT_INTERCEPTOR_FNS,
|
||||||
useValue: transferCacheInterceptorFn,
|
useValue: transferCacheInterceptorFn,
|
||||||
multi: true,
|
multi: true,
|
||||||
deps: [TransferState, CACHE_OPTIONS],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
provide: APP_BOOTSTRAP_LISTENER,
|
provide: APP_BOOTSTRAP_LISTENER,
|
||||||
|
|||||||
Reference in New Issue
Block a user