diff --git a/packages/keyv/src/index.d.ts b/packages/keyv/src/index.d.ts index bd568b4ff..99cf30047 100644 --- a/packages/keyv/src/index.d.ts +++ b/packages/keyv/src/index.d.ts @@ -92,12 +92,17 @@ declare namespace Keyv { value: Value; expires: number | undefined; } + type StoredData = DeserializedData | string | undefined; + interface Store { get(key: string): Value | Promise | undefined; set(key: string, value: Value, ttl?: number): any; delete(key: string): boolean | Promise; clear(): void | Promise; has?(key: string): boolean | Promise; + getMany?( + keys: string[] + ): Array> | Promise>> | undefined; } }