-
-
Notifications
You must be signed in to change notification settings - Fork 532
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
Type instantiation is excessively deep
in ReadonlyDeep
#467
Comments
@marekdedic I'm not sure why you want to make the |
Hi, for the same reason you'd make anything read-only I think 😀 To have stricter control over what gets modified... I agree that the jQuery object is huge, that's why it crashes... |
I don’t think it's practical/possible because it would ask to make all the nested DOM types readonly too, not just jQuery methods |
Hi,
I recently updated my declaration of
ReadonlyDeep
to use the new call signature handling from #359, however, I geterror TS2589: Type instantiation is excessively deep and possibly infinite.
:(See the repro in the playground for details.
Upvote & Fund
The text was updated successfully, but these errors were encountered: