Skip to content

Commit 902beb9

Browse files
ymc9Copilot
andauthored
Update packages/runtime/src/client/client-impl.ts
Co-authored-by: Copilot <[email protected]>
1 parent 4069781 commit 902beb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime/src/client/client-impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export class ClientImpl<Schema extends SchemaDef> {
152152
): Promise<T>;
153153

154154
// overload for sequential transaction
155-
$transaction<P extends Promise<any>[]>(arg: [...P], options?: { isolationLevel?: TransactionIsolationLevel }): P;
155+
$transaction<P extends Promise<any>[]>(arg: [...P], options?: { isolationLevel?: TransactionIsolationLevel }): Promise<UnwrapTuplePromises<P>>;
156156

157157
// implementation
158158
async $transaction(input: any, options?: { isolationLevel?: TransactionIsolationLevel }) {

0 commit comments

Comments
 (0)