Skip to content

Commit

Permalink
clarify type for MemoryCacheStore
Browse files Browse the repository at this point in the history
Signed-off-by: flakey5 <[email protected]>
  • Loading branch information
flakey5 committed Sep 17, 2024
1 parent 6bff376 commit 2edee29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/cache-interceptor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ declare namespace CacheHandler {
get maxEntries (): number
get maxEntrySize (): number

get (key: Dispatcher.RequestOptions): CacheStoreValue | Promise<CacheStoreValue>
put (key: Dispatcher.RequestOptions, opts: CacheStoreValue): Promise<void>
get (key: Dispatcher.RequestOptions): CacheStoreValue
put (key: Dispatcher.RequestOptions, opts: CacheStoreValue): void
}
}

0 comments on commit 2edee29

Please sign in to comment.