UNPKG

@nightnetwork/obscura

Version:
10 lines (9 loc) 294 B
export declare class IDBStore { private dbName; private storeName; private dbPromise; constructor(dbName?: string, storeName?: string); private openDB; getItem<T = string>(key: string): Promise<T | null>; setItem<T = string>(key: string, value: T): Promise<void>; }