Skip to content

Commit

Permalink
Make opfs flags optional
Browse files Browse the repository at this point in the history
  • Loading branch information
qwtel committed May 20, 2024
1 parent 3493554 commit fce37dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ declare class OpfsDatabase extends Database {
* `c`. These modes are ignored for the special `":memory:"` and `""`
* names and may be ignored by specific VFSes.
*/
constructor(filename: string, flags: string);
constructor(filename: string, flags?: string);

/**
* Import a database into OPFS storage. It only works with database files and
Expand Down

0 comments on commit fce37dd

Please sign in to comment.