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 authored and jkomyno committed Dec 21, 2022
1 parent 75a8077 commit 0ab98fd
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 0ab98fd

Please sign in to comment.