diff --git a/src/index.ts b/src/index.ts index ca1ed8f..53d4184 100644 --- a/src/index.ts +++ b/src/index.ts @@ -151,7 +151,7 @@ export type DB = { execute: (query: string, params?: Scalar[]) => Promise; executeWithHostObjects: ( query: string, - params?: any[] + params?: Scalar[] ) => Promise; executeBatch: (commands: SQLBatchTuple[]) => Promise; loadFile: (location: string) => Promise; @@ -169,7 +169,7 @@ export type DB = { rollbackHook: (callback?: (() => void) | null) => void; prepareStatement: (query: string) => PreparedStatementObj; loadExtension: (path: string, entryPoint?: string) => void; - executeRaw: (query: string, params?: any[]) => Promise; + executeRaw: (query: string, params?: Scalar[]) => Promise; getDbPath: (location?: string) => string; reactiveExecute: (params: { query: string;