Generic reusable type for parameter t #927
-
Hi All, I thought I saw in a discussion earlier that someone had posted a reply with a reusable generic type they had created and was hoping it could be shared again with me as I have been unable to find it again. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Do you have details of the error you are seeing? I always use use no implicit any, and have never had an issue (t should definitely not be typed as any unless something is misconfigured) |
Beta Was this translation helpful? Give feedback.
This is likely an issue with how you have set up the Prisma plugin, if you open the file you import the PrismaTypes from, have they been generated (does the file exists, and does it have a bunch of types in it)