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
For some reason, all inferred types of ZodObject have the properties as optional. This is particularly annoying when extracting a type from a discriminated union.
The reason I noted this here was due to creating the application through the create-cloudflare method. The OpenAPI rest application starter has strict:false
For some reason, all inferred types of ZodObject have the properties as optional. This is particularly annoying when extracting a type from a discriminated union.
Without
chanfana
, this works as expectedTypeScript version 5.6.3
zod 3.23.8
hono 4.6.9
chanfana 2.1.0
The text was updated successfully, but these errors were encountered: