Skip to content

Commit b041900

Browse files
authored
Merge pull request #100 from pedroapfilho/main
Making `db` as optional for `Options` interface
2 parents 9c4e818 + 76dc7ac commit b041900

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,11 @@ declare module '@isomorphic-git/lightning-fs' {
252252
* @default false
253253
*/
254254
defer?: boolean
255-
db: FS.IDB
255+
/**
256+
* Custom database instance
257+
* @default null
258+
*/
259+
db?: FS.IDB
256260
}
257261
export interface IDB {
258262
constructor(dbname: string, storename: string): IDB

0 commit comments

Comments
 (0)