Skip to content

Commit 7869a34

Browse files
committed
fix(ts): loosen default cache value
1 parent 5111248 commit 7869a34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type Eventually<Value> =
1919
| undefined
2020
| Promise<Value | null | undefined>;
2121

22-
export interface Cache<Value = unknown> {
22+
export interface Cache<Value = any> {
2323
name?: string;
2424
get: (key: string) => Eventually<CacheEntry<Value>>;
2525
set: (key: string, value: CacheEntry<Value>) => unknown | Promise<unknown>;

0 commit comments

Comments
 (0)