v3.23.1
This changes the default generics back to any
to prevent breakages with common packager like @hookform/resolvers
:
- class ZodType<Output = unknown, Def extends ZodTypeDef = ZodTypeDef, Input = unknown> {}
+ class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = any> {}