We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c758fb commit b4fbacdCopy full SHA for b4fbacd
packages/plugins/response-cache-cloudflare-kv/src/index.ts
@@ -36,7 +36,7 @@ export function createKvCache<
36
TServerContext extends {
37
[TKey in TKVNamespaceName]: KVNamespace;
38
} & {
39
- waitUntil(fn: Promise<unknown>): void;
+ waitUntil(promise: Promise<unknown>): void;
40
},
41
>(config: KvCacheConfig<TKVNamespaceName>): (ctx: TServerContext) => Cache {
42
if (config.cacheReadTTL && config.cacheReadTTL < 60000) {
0 commit comments