We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4069781 commit 902beb9Copy full SHA for 902beb9
packages/runtime/src/client/client-impl.ts
@@ -152,7 +152,7 @@ export class ClientImpl<Schema extends SchemaDef> {
152
): Promise<T>;
153
154
// overload for sequential transaction
155
- $transaction<P extends Promise<any>[]>(arg: [...P], options?: { isolationLevel?: TransactionIsolationLevel }): P;
+ $transaction<P extends Promise<any>[]>(arg: [...P], options?: { isolationLevel?: TransactionIsolationLevel }): Promise<UnwrapTuplePromises<P>>;
156
157
// implementation
158
async $transaction(input: any, options?: { isolationLevel?: TransactionIsolationLevel }) {
0 commit comments