-
-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Labels
Breaking solutionThis is a bug, but the solution to it would be a bigger problem than the original issue.This is a bug, but the solution to it would be a bigger problem than the original issue.V4
Description
I've just upgraded from v3.18
to v3.20
and noticed that the schema returned from z.void()
is now {}
instead of undefined
. 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 🙌
Metadata
Metadata
Assignees
Labels
Breaking solutionThis is a bug, but the solution to it would be a bigger problem than the original issue.This is a bug, but the solution to it would be a bigger problem than the original issue.V4