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

types.any() causes TypeScript error TS2589: Type instantiation is excessively deep and possibly infinite. #914

Open
italodeandra opened this issue Sep 1, 2024 · 0 comments

Comments

@italodeandra
Copy link

italodeandra commented Sep 1, 2024

When I try to use this type, a lot of places where I use this collection start throwing this error and my IDE memory usage goes to the roof and then crashes. Probably because of some kind of type loop.

Tried to use the workaround types.object({} as any), but it has the same issue.

Any idea what I might be doing wrong?

Papr Version: 15.2.2
TypeScript Version: 5.5.4
Node Version: 20.16.0

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

1 participant