P
Prisma•6mo ago
Nykloon

PrismaClient has type 'any'

Hello there, what would cause new PrismaClient() returning type any? Is my TypeScript configuration wrong? Is my IDE messing with me? Or is this a bug? I'm on latest Prisma version.
5 Replies
Prisma AI Help
Prisma AI Help•6mo ago
You selected to wait for the human sages. They'll share their wisdom soon. Grab some tea while you wait, or check out #ask-ai if you'd like a quick chat with the bot anyway!
Nykloon
NykloonOP•6mo ago
No description
Nurul
Nurul•6mo ago
Can you share the TypeScript configuration?
Nykloon
NykloonOP•6mo ago
Sorry for the late response. I used @prisma/client instead of my generated prisma client in my own src/generated folder. Fixed.
Nurul
Nurul•5mo ago
Thanks for letting me know 🙌

Did you find this page helpful?