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
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!
Can you share the TypeScript configuration?
Sorry for the late response. I used
@prisma/client instead of my generated prisma client in my own src/generated folder. Fixed.Thanks for letting me know 🙌