Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
16 replies
kevinka

Is there a way to import a type from a Prisma Model on Client

I know that we have inferRouterInputs and inferRouterOutputs, but I dont feel that is what I need.
TRPC provides a way to generate a type from model? or the right only way is literally the output?
Was this page helpful?