We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5111248 commit 7869a34Copy full SHA for 7869a34
src/common.ts
@@ -19,7 +19,7 @@ export type Eventually<Value> =
19
| undefined
20
| Promise<Value | null | undefined>;
21
22
-export interface Cache<Value = unknown> {
+export interface Cache<Value = any> {
23
name?: string;
24
get: (key: string) => Eventually<CacheEntry<Value>>;
25
set: (key: string, value: CacheEntry<Value>) => unknown | Promise<unknown>;
0 commit comments