We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 06218b1 + d231b64 commit d58fedfCopy full SHA for d58fedf
1 file changed
src/db.ts
@@ -69,6 +69,7 @@ export interface Database {
69
exec(sql: string): void;
70
prepare(sql: string): Statement;
71
loadExtension(path: string): void;
72
+ transaction<T extends (...args: any[]) => any>(fn: T): T;
73
close(): void;
74
}
75
0 commit comments