Skip to content

Commit 7794f25

Browse files
authored
chore: deprecated prisma default export (calcom#23199)
1 parent 167cf6e commit 7794f25

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/prisma/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ type OmitPrismaClient = Omit<
9090
// we cant pass tx to functions as types miss match since we have a custom prisma client https://github.com/prisma/prisma/discussions/20924#discussioncomment-10077649
9191
export type PrismaTransaction = OmitPrismaClient;
9292

93+
/**
94+
* @deprecated Use named export `prisma` instead
95+
*/
9396
export default prisma;
9497

9598
export * from "./selects";

0 commit comments

Comments
 (0)