Skip to content

Commit 8b5d3af

Browse files
committed
Improved select typing
1 parent e71b5c3 commit 8b5d3af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/orb-sync-lib/src/database/postgres.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class PostgresClient {
7272
;`;
7373
};
7474

75-
async select<T>(sqlQuery: string, params?: Record<string, any>): Promise<T[]> {
75+
async select<T>(sqlQuery: string, params?: Record<string, unknown>): Promise<T[]> {
7676
const prepared = sql(sqlQuery, { useNullForMissing: true })(params || {});
7777
const result = await this.pool.query(prepared.text, prepared.values);
7878

0 commit comments

Comments
 (0)