Optional function args? #401
Unanswered
prescience-data
asked this question in
Q&A
Replies: 1 comment
-
This isn't currently possible becuase Zod doesn't support truly optional tuple values, e.g. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Wanted to see if there was a way to implement a function shape that may have zero to one args?
What I've tried:
No matter what I try I seem to get:
Beta Was this translation helpful? Give feedback.
All reactions