Bug: z.void()
schema output
#37
Labels
Breaking solution
This is a bug, but the solution to it would be a bigger problem than the original issue.
V4
I've just upgraded from
v3.18
tov3.20
and noticed that the schema returned fromz.void()
is now{}
instead ofundefined
. I've looked through the changelog and not seen this mentioned (therefore assume it's a bug?).Reproduction: https://stackblitz.com/edit/typescript-6vgab1?devToolsHeight=33&file=index.ts
Thanks 🙌
The text was updated successfully, but these errors were encountered: