Skip to content

Commit

Permalink
refactor(common): remove redundant transferCacheInterceptorFn depen…
Browse files Browse the repository at this point in the history
…dencies (#59819)

The `transferCacheInterceptorFn` injects dependencies in itself; the `TransferCache` and cache options are redundant in the `deps` list.

PR Close #59819
  • Loading branch information
arturovt authored and thePunderWoman committed Feb 13, 2025
1 parent 6d1ebc5 commit 04851c7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/common/http/src/transfer_cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 04851c7

Please sign in to comment.