Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible types #98

Open
thoroc opened this issue Dec 4, 2024 · 1 comment
Open

Incompatible types #98

thoroc opened this issue Dec 4, 2024 · 1 comment

Comments

@thoroc
Copy link

thoroc commented Dec 4, 2024

I am trying this, but I am finding there is a host of errors coming up with my Zod schemas.

...
  Types of property 'unionErrors' are incompatible.
  Type 'import("file:///<repo>/$node_modules/.deno/[email protected]/$node_modules/zod/lib/ZodError").ZodError<any>[]' is not assignable to type 'Zod.ZodError<any>[]'.
  Type 'import("file:///<repo>/$node_modules/.deno/[email protected]/$node_modules/zod/lib/ZodError").ZodError<any>' is not assignable to type 'Zod.ZodError<any>'.
  Types of property 'issues' are incompatible.
  Type 'import("file:///U<repo>/$node_modules/.deno/[email protected]/$node_modules/zod/lib/ZodError").ZodIssue[]' is not assignable to type 'Zod.ZodIssue[]'.
  Type 'import("file:///<repo>/$node_modules/.deno/[email protected]/$node_modules/zod/lib/ZodError").ZodIssue' is not assignable to type 'Zod.ZodIssue'.
...
@timdeschryver
Copy link
Owner

Can you try updating to zo v3.23.x please (or higher)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants