diff --git a/src/index.ts b/src/index.ts index 45e95e5..fb21eca 100644 --- a/src/index.ts +++ b/src/index.ts @@ -252,10 +252,12 @@ export const createClient = ( const queryResults = await prisma.$transaction( async (tx) => { if (ctx.transactionId) { + // biome-ignore lint/suspicious/noExplicitAny: This is a private API, so not much we can do about it (tx as any)[Symbol.for("prisma.client.transaction.id")] = ctx.transactionId; } else { const txId = hashWithPrefix("yates_tx_", JSON.stringify(ctx)); + // biome-ignore lint/suspicious/noExplicitAny: This is a private API, so not much we can do about it (tx as any)[Symbol.for("prisma.client.transaction.id")] = txId; }