Add type definition for explain()

This commit is contained in:
Mahesh Bandara Wijerathna
2026-07-29 01:20:12 +05:30
parent e3af8935fa
commit 61f40a22ef
Vendored
+1
View File
@@ -77,6 +77,7 @@ declare namespace BetterSqlite3MultipleCiphers {
key(key: Buffer): number; key(key: Buffer): number;
rekey(key: Buffer): number; rekey(key: Buffer): number;
pragma(source: string, options?: Database.PragmaOptions): unknown; pragma(source: string, options?: Database.PragmaOptions): unknown;
explain(source: string): unknown[];
function(name: string, cb: (...params: unknown[]) => unknown): this; function(name: string, cb: (...params: unknown[]) => unknown): this;
function(name: string, options: Database.RegistrationOptions, cb: (...params: unknown[]) => unknown): this; function(name: string, options: Database.RegistrationOptions, cb: (...params: unknown[]) => unknown): this;
aggregate<T>( aggregate<T>(