From c46ef2fe9c12bcf976bb9ded86b6b6a342163c5a Mon Sep 17 00:00:00 2001 From: Owen Date: Thu, 7 May 2026 20:03:48 -0700 Subject: [PATCH] Fix ts type issue --- server/db/pg/driver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/db/pg/driver.ts b/server/db/pg/driver.ts index 86a0c0352..9f6901dda 100644 --- a/server/db/pg/driver.ts +++ b/server/db/pg/driver.ts @@ -87,7 +87,7 @@ function createDb() { export const db = createDb(); export default db; -export const primaryDb = db.$primary; +export const primaryDb = db.$primary as typeof db; // is this typeof a problem - techincally they are different types export type Transaction = Parameters< Parameters<(typeof db)["transaction"]>[0] >[0];