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

error TS2589: Type instantiation is excessively deep and possibly infinite. #340

Open
lcsvcn opened this issue May 13, 2024 · 2 comments
Open

Comments

@lcsvcn
Copy link

lcsvcn commented May 13, 2024

error TS2589: Type instantiation is excessively deep and possibly infinite.

Screenshot 2024-05-13 at 12 48 35

After bump zod from 3.22.4 to 3.23.8 started receiving this issue.

@carloslfu
Copy link

I had the same error. I had to go to zod v3.22.4.

@0XPW87
Copy link

0XPW87 commented Aug 8, 2024

Can confirm. For me, this also causes intellisense to become unusable almost anywhere in the file, and it seems to be a common thing with zod.

out of curiosity, is there any way for me to replace zod with typebox in this project? A wrapper or something, maybe?

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

3 participants