(alias) type PrismaClient = any
after generating types using npx prisma generate i got
is this normal?
(alias) type PrismaClient = any
(alias) const PrismaClient: any
4 Replies
You're in no rush, so we'll let a dev step in. Enjoy your coffee, or drop into
#ask-ai if you get antsy for a second opinion!Could you share your code snippet on how you are instantiating and using PrismaClient?
Hi already solved it instead of importing from
I import using
Glad to hear that!
I believe the issue occured because you were genrating prisma client at a custom location as per our recommendation but importing it from node_modules. Importing from generated prisma client fixed the issue 👍