Infer and explicitly declare types for client extensions
halbano opened this issue · comments
When declaring Prisma client extensions, the types are not inferred properly.
The extensions, when being called, are showing typescript errors related with the no detection of the declared extensions:
Did folks work on anything similar and were able to type all this correctly? Is there any example of how this should work?
Hi @halbano,
Thanks for reporting the issue. I recommend you post/ transfer your issue to the https://github.com/prisma/prisma repo with a snippet of your extension and the type error you're running into. 🙂