Theo's Typesafe CultTTC
Theo's Typesafe Cult4y ago
6 replies
Liam

Getting a type from Zod Schema

Is there a way that I can get a type from a Zod schema? Essentially I want to set the type the return value from a function to the type generated from the Zod schema.
Was this page helpful?