Skip to content

Commit b4fbacd

Browse files
committed
Better argument name
1 parent 2c758fb commit b4fbacd

File tree

1 file changed

+1
-1
lines changed
  • packages/plugins/response-cache-cloudflare-kv/src

1 file changed

+1
-1
lines changed

packages/plugins/response-cache-cloudflare-kv/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function createKvCache<
3636
TServerContext extends {
3737
[TKey in TKVNamespaceName]: KVNamespace;
3838
} & {
39-
waitUntil(fn: Promise<unknown>): void;
39+
waitUntil(promise: Promise<unknown>): void;
4040
},
4141
>(config: KvCacheConfig<TKVNamespaceName>): (ctx: TServerContext) => Cache {
4242
if (config.cacheReadTTL && config.cacheReadTTL < 60000) {

0 commit comments

Comments
 (0)