diff --git a/lib/db/client.ts b/lib/db/client.ts index 2127bba..dd5693d 100644 --- a/lib/db/client.ts +++ b/lib/db/client.ts @@ -1,4 +1,4 @@ -import { Pool, PoolClient, QueryResult } from "pg"; +import { Pool, PoolClient, QueryResult, QueryResultRow } from "pg"; // ─── Connection pool ────────────────────────────────────────────────────────── @@ -26,7 +26,7 @@ function getPool(): Pool { // ─── Query helpers ──────────────────────────────────────────────────────────── -export async function query>( +export async function query>( text: string, params?: unknown[] ): Promise> {