Typescript withZod #259
barbinbrad
started this conversation in
General
Replies: 1 comment 1 reply
-
To save you a little bit of code, this is pretty much exactly what the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thought this might be useful to someone else. It's a utility type for extracting the type of your validator. I use this to define my props that get passed to my
<ValidatedForm>
:Here's how to use it:
Beta Was this translation helpful? Give feedback.
All reactions