Skip to content

Commit fce37dd

Browse files
committed
Make opfs flags optional
1 parent 3493554 commit fce37dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,7 @@ declare class OpfsDatabase extends Database {
12441244
* `c`. These modes are ignored for the special `":memory:"` and `""`
12451245
* names and may be ignored by specific VFSes.
12461246
*/
1247-
constructor(filename: string, flags: string);
1247+
constructor(filename: string, flags?: string);
12481248

12491249
/**
12501250
* Import a database into OPFS storage. It only works with database files and

0 commit comments

Comments
 (0)