Skip to content

Commit c2e14f4

Browse files
authored
Add cached option to open function. Fixes #77
1 parent 5d092c5 commit c2e14f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,5 @@ declare module 'sqlite' {
7777
on(event: string, listener: (...args: any[]) => void): void;
7878
}
7979

80-
export function open(filename: string, options?: { mode?: number, verbose?: boolean, promise?: typeof Promise }): Promise<Database>;
80+
export function open(filename: string, options?: { mode?: number, verbose?: boolean, promise?: typeof Promise, cached?: boolean }): Promise<Database>;
8181
}

0 commit comments

Comments
 (0)