UNPKG

258 BTypeScriptView Raw
1declare class MemoryStore {
2 db: Map<string, string>;
3 constructor();
4 get(key: string): Promise<string | undefined>;
5 put(key: string, value: string): Promise<Map<string, string>>;
6 del(key: string): Promise<boolean>;
7}
8export = MemoryStore;