Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
11 replies
Nacho

Zod naming convention

What is the best naming convention for zod?

both capitalized
const Object = z.object(...)
type Object = z.infer<...>

-or-

only type capitalized
const object = z.object(...)
type Object = z.infer<...>
Was this page helpful?