#Typing for records returned by prisma
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
TypeScript
Are there already constructed types (by Prisma) for the objects that are returned through a query so I can use this for variables, if so where could I access these?
please ping on reply :)
If it wasn't clear enough. Example: I want to pass a singular record for use in a function, but I need to type the function parameter.