Skip to content

Commit 8a66181

Browse files
committed
Update JsStorageDb constructor type
1 parent a375554 commit 8a66181

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1163,6 +1163,7 @@ declare class Database {
11631163
*/
11641164
declare class JsStorageDb extends Database {
11651165
/** Create a new kvvfs-backed database in local or session storage. */
1166+
constructor(options?: { filename?: 'local' | 'session'; flags?: string; });
11661167
constructor(mode: 'local' | 'session');
11671168

11681169
/** Returns an _estimate_ of how many bytes of storage are used by the kvvfs. */

0 commit comments

Comments
 (0)