diff --git a/src/common.ts b/src/common.ts index eb14b63..9b0810a 100644 --- a/src/common.ts +++ b/src/common.ts @@ -19,7 +19,7 @@ export type Eventually = | undefined | Promise; -export interface Cache { +export interface Cache { name?: string; get: (key: string) => Eventually>; set: (key: string, value: CacheEntry) => unknown | Promise;