From 4e123883b3c3f19ce490593813bbd7d3090fab56 Mon Sep 17 00:00:00 2001 From: Yevhenii Date: Thu, 9 Apr 2026 15:46:57 +0300 Subject: [PATCH] fix(postgres-js): widen PostgresJsSession constraint for TransactionSql --- drizzle-orm/src/postgres-js/session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drizzle-orm/src/postgres-js/session.ts b/drizzle-orm/src/postgres-js/session.ts index 3673dd8b30..9a97b1db54 100644 --- a/drizzle-orm/src/postgres-js/session.ts +++ b/drizzle-orm/src/postgres-js/session.ts @@ -105,7 +105,7 @@ export interface PostgresJsSessionOptions { } export class PostgresJsSession< - TSQL extends Sql, + TSQL extends Sql | TransactionSql, TFullSchema extends Record, TSchema extends TablesRelationalConfig, > extends PgSession {