blob: dd5a966299ac22449805dbef2ca3749deae60a91 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/**
* Check if an IndexedDB database exists. The only way to do so is to try opening it, so
* we do that and then delete it did not exist before.
*
* @param indexedDB - The `indexedDB` interface
* @param dbName - The database name to test for
* @returns Whether the database exists
*/
export declare function exists(indexedDB: IDBFactory, dbName: string): Promise<boolean>;
//# sourceMappingURL=indexeddb-helpers.d.ts.map
|