diff --git a/index.d.ts b/index.d.ts index e897421..eaf5cb3 100644 --- a/index.d.ts +++ b/index.d.ts @@ -259,10 +259,9 @@ declare module '@isomorphic-git/lightning-fs' { db?: FS.IDB } export interface IDB { - constructor(dbname: string, storename: string): IDB saveSuperblock(sb: Uint8Array): TypeOrPromise loadSuperblock(): TypeOrPromise - loadFile(inode: number): TypeOrPromise + readFile(inode: number): TypeOrPromise writeFile(inode: number, data: Uint8Array): TypeOrPromise wipe(): TypeOrPromise close(): TypeOrPromise