You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think its only a minor type tweak to make it possible to support schemas that use .catch.
Currently it complains: Property readonly is missing in type ZodCatch<ZodEnum<...>> but required in type ZodType<any, any, any>
Using .removeCatch() on the schema works at runtime but the type is still incorrect.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I think its only a minor type tweak to make it possible to support schemas that use
.catch
.Currently it complains: Property
readonly
is missing in typeZodCatch<ZodEnum<...>> but required in type ZodType<any, any, any>
Using
.removeCatch()
on the schema works at runtime but the type is still incorrect.The text was updated successfully, but these errors were encountered: