You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comes up a lot when you use something like keyof React.ReactHTML
We run out of memory at 2**19, and some operations on React have calculated 2 ** 111.
We now have a limiter during the normalization pass to compute the upper-bound of the number of unions we might generate, so that we gracefully fail instead of generating out-of-memory errors.
This will generate some trouble for React users.
Also looks like there are a lot of bogus intersections we choke up on.
"a" & { __tag: "adsad" }
Maybe there's a subset of intersections with object types.
We need some way of doing nominal tagging
Can we just determine what to do based on number of members?
Nope, expensive to determine this.
Resolution: Need to put this into the breaking changes list.
The text was updated successfully, but these errors were encountered:
Thanks for the ping! I am happy to carve out some time next week to look at Ember's types with you folks, and will also dig into the PR in question to try to understand why it breaks our types.
Correct Constraint Checking
#31006
--strict
mode.d.ts
files (@chriskrycho)OOM Woes
#30050
(A | B | C | D) & (E | F | G | D)
keyof React.ReactHTML
2**19
, and some operations on React have calculated2 ** 111
."a" & { __tag: "adsad" }
The text was updated successfully, but these errors were encountered: