From 2edee2940bd27128bd5fb4bd9efba7c9790531f6 Mon Sep 17 00:00:00 2001 From: flakey5 <73616808+flakey5@users.noreply.github.com> Date: Mon, 16 Sep 2024 17:41:22 -0700 Subject: [PATCH] clarify type for MemoryCacheStore Signed-off-by: flakey5 <73616808+flakey5@users.noreply.github.com> --- types/cache-interceptor.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/cache-interceptor.d.ts b/types/cache-interceptor.d.ts index 179b29390fb..ec3687c75d9 100644 --- a/types/cache-interceptor.d.ts +++ b/types/cache-interceptor.d.ts @@ -92,7 +92,7 @@ declare namespace CacheHandler { get maxEntries (): number get maxEntrySize (): number - get (key: Dispatcher.RequestOptions): CacheStoreValue | Promise - put (key: Dispatcher.RequestOptions, opts: CacheStoreValue): Promise + get (key: Dispatcher.RequestOptions): CacheStoreValue + put (key: Dispatcher.RequestOptions, opts: CacheStoreValue): void } }