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:
arturovt 2025-01-31 15:38:27 +02:00 committed by Jessica Janiuk
parent 20f5dc5103
commit f34aeaeaad

View file

@ -328,7 +328,6 @@ export function withHttpTransferCache(cacheOptions: HttpTransferCacheOptions): P
provide: HTTP_ROOT_INTERCEPTOR_FNS,
useValue: transferCacheInterceptorFn,
multi: true,
deps: [TransferState, CACHE_OPTIONS],
},
{
provide: APP_BOOTSTRAP_LISTENER,