Skip to content

Commit 2aa4f7c

Browse files
author
Daniele Briggi
committed
chore(bindings): revert to any
1 parent 9944a0c commit 2aa4f7c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sqlitecloud/drivers",
3-
"version": "1.0.506",
3+
"version": "1.0.507",
44
"description": "SQLiteCloud drivers for Typescript/Javascript in edge, web and node clients",
55
"main": "./lib/index.js",
66
"types": "./lib/index.d.ts",

src/drivers/connection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export abstract class SQLiteCloudConnection {
112112
* @returns An array of rows in case of selections or an object with
113113
* metadata in case of insert, update, delete.
114114
*/
115-
public async sql(sql: TemplateStringsArray | string | SQLiteCloudCommand, ...values: SQLiteCloudDataTypes[]): Promise<any> {
115+
public async sql(sql: TemplateStringsArray | string | SQLiteCloudCommand, ...values: any[]): Promise<any> {
116116
let commands = { query: '' } as SQLiteCloudCommand
117117

118118
// sql is a TemplateStringsArray, the 'raw' property is specific to TemplateStringsArray

src/drivers/database.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ export class Database extends EventEmitter {
437437
* @returns An array of rows in case of selections or an object with
438438
* metadata in case of insert, update, delete.
439439
*/
440-
public async sql(sql: TemplateStringsArray | string | SQLiteCloudCommand, ...values: SQLiteCloudDataTypes[]): Promise<any> {
440+
public async sql(sql: TemplateStringsArray | string | SQLiteCloudCommand, ...values: any[]): Promise<any> {
441441
let commands = { query: '' } as SQLiteCloudCommand
442442

443443
// sql is a TemplateStringsArray, the 'raw' property is specific to TemplateStringsArray

0 commit comments

Comments
 (0)