Skip to content

Commit a22372d

Browse files
committed
Add SqliteClient class to type definitions
1 parent 1cf8e33 commit a22372d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

index.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8030,3 +8030,17 @@ declare type CAPI = {
80308030
SQLITE_FAIL: 3;
80318031
SQLITE_REPLACE: 5;
80328032
};
8033+
8034+
export class SqliteClient {
8035+
dbFile: string;
8036+
sqliteWorkerPath: string;
8037+
8038+
constructor(dFile: string, sqliteWorkerPath: string);
8039+
8040+
init(): Promise<void>;
8041+
8042+
executeSql(
8043+
sqlStatement: string,
8044+
bindParameters: SqlValue[],
8045+
): Promise<SqlValue[][]>;
8046+
}

0 commit comments

Comments
 (0)