Skip to content

Commit c18eea0

Browse files
authored
Update index.d.ts
1 parent 14113e5 commit c18eea0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,6 +1415,8 @@ declare class SQLite3Error extends Error {
14151415
/** A pointer to a location in WASM heap memory. */
14161416
declare type WasmPointer = number;
14171417

1418+
declare type NullPointer = 0 | null;
1419+
14181420
declare type StructPtrMapper<T> = {
14191421
StructType: T;
14201422
/**
@@ -6548,7 +6550,7 @@ declare type CAPI = {
65486550
*
65496551
* See https://www.sqlite.org/session/sqlite3session_attach.html
65506552
*/
6551-
sqlite3session_attach: (pSession: WasmPointer, tableName: string | 0) => number;
6553+
sqlite3session_attach: (pSession: WasmPointer, tableName: string | NullPointer) => number;
65526554

65536555
/**
65546556
* Set a table filter on a Session Object.

0 commit comments

Comments
 (0)