Skip to content

Commit

Permalink
feat(client): add TransactionClient stub to default-index.d.ts (#16257)
Browse files Browse the repository at this point in the history
Closes #16103
  • Loading branch information
aqrln committed Nov 23, 2022
1 parent 1c4ee62 commit 2a6c927
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/client/scripts/default-index.d.ts
Expand Up @@ -41,3 +41,7 @@ export declare type PromiseType<T extends PromiseLike<any>> = T extends PromiseL
* Get the return type of a function which returns a Promise.
*/
export declare type PromiseReturnType<T extends (...args: any) => Promise<any>> = PromiseType<ReturnType<T>>

export namespace Prisma {
export type TransactionClient = any
}

0 comments on commit 2a6c927

Please sign in to comment.