Fix ts type issue

This commit is contained in:
Owen
2026-05-07 20:03:48 -07:00
parent ce04ea9720
commit c46ef2fe9c

View File

@@ -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];