Skip to content

Commit

Permalink
Convert more types to Scalar
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Dec 1, 2024
1 parent 720c0d3 commit b7f12c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export type DB = {
execute: (query: string, params?: Scalar[]) => Promise<QueryResult>;
executeWithHostObjects: (
query: string,
params?: any[]
params?: Scalar[]
) => Promise<QueryResult>;
executeBatch: (commands: SQLBatchTuple[]) => Promise<BatchQueryResult>;
loadFile: (location: string) => Promise<FileLoadResult>;
Expand All @@ -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<any[]>;
executeRaw: (query: string, params?: Scalar[]) => Promise<any[]>;
getDbPath: (location?: string) => string;
reactiveExecute: (params: {
query: string;
Expand Down

0 comments on commit b7f12c7

Please sign in to comment.