Type after transformation #12324
Unanswered
perevezencev
asked this question in
Q&A
Replies: 1 comment
-
See this section of the Zod docs. You can pass a
|
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone! I have a code like this:
Why is this happening?
Should the type of
date
bez.ZodDate
, notz.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodDate>
?Playground
Beta Was this translation helpful? Give feedback.
All reactions