Skip to content

Commit 3652398

Browse files
authored
Merge pull request #96 from DallasHoff/update-jsstoragedb-type
Update JsStorageDb constructor type
2 parents a375554 + 8a66181 commit 3652398

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)