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

Fix/2230 type instantiation excessively deep #2231

Merged

Conversation

coolsoftwaretyler
Copy link
Collaborator

What does this PR do and why?

Fixes #2230 by using mapped types instead of Omit. Seems to pass the test case.

Steps to validate locally

You should not see TS errors about excessively deep type instantiation. All other tests and type checks should work.

Copy link
Collaborator

@thegedge thegedge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified failing before and fixed after

Thanks for fixing, @coolsoftwaretyler <3 🙇

@coolsoftwaretyler coolsoftwaretyler merged commit 959c5db into master Dec 13, 2024
1 check passed
@coolsoftwaretyler coolsoftwaretyler deleted the fix/2230-type-instantiation-excessively-deep branch December 13, 2024 19:22
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

Successfully merging this pull request may close these issues.

v7.0.0. type instantiation is excessively deep and possibly infinite
2 participants