Replies: 2 comments
-
I found that there's no error on below package.json cofiguration.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Might be a package mismatch, I tried installing
Can you create a repo where this happens in it from scratch? P.S I moved this to a discussion since it doesn't seem like an issue. |
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
-
What happened?
When I pass the value through toTypedSchema
I got this typescript error
and, same on
This results below error, slowing down whole IDE.
But, When I declare type and specify type when I use useForm like below
Type instantiation is excessively deep and possibly infinite.ts(2589), which result slowing down IDE disappear gone but still Argument of type 'ZodObject<{ email: ZodString; }, "strip", ZodTypeAny, { email: string; }, { email: string; }>' is not assignable to parameter of type 'ZodType<any, ZodTypeDef, any>'.
The types of '_def.errorMap' are incompatible between these types.ts(2345) error remains.
Reproduction steps
, result
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
Relevant log output
No response
Demo link
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions