From 9df1314b4ded7272e6c764dae0c1be25e5c88f3c Mon Sep 17 00:00:00 2001 From: Jose Almeida Date: Mon, 23 Oct 2023 11:19:35 -0300 Subject: [PATCH] Add close() method for connection on typescript types --- lib/duckdb.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/duckdb.d.ts b/lib/duckdb.d.ts index 84f7766a..cc9ee1d3 100644 --- a/lib/duckdb.d.ts +++ b/lib/duckdb.d.ts @@ -78,6 +78,8 @@ export type ArrowArray = Uint8Array[]; export class Connection { constructor(db: Database, callback?: Callback); + close(callback?: Callback): void; + all(sql: string, ...args: [...any, Callback] | []): void; arrowIPCAll(sql: string, ...args: [...any, Callback] | []): void; each(sql: string, ...args: [...any, Callback] | []): void;