Skip to content

Commit 99395b0

Browse files
authored
Fix type sqlite3session_attach, that accepts 0 for tableName argument
1 parent 853cfb7 commit 99395b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6548,7 +6548,7 @@ declare type CAPI = {
65486548
*
65496549
* See https://www.sqlite.org/session/sqlite3session_attach.html
65506550
*/
6551-
sqlite3session_attach: (pSession: WasmPointer, tableName: string) => number;
6551+
sqlite3session_attach: (pSession: WasmPointer, tableName: string || 0) => number;
65526552

65536553
/**
65546554
* Set a table filter on a Session Object.

0 commit comments

Comments
 (0)