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
{{ message }}
Repository navigation
Intersection breaks generic key field inference #26409
Activity
ahejlsberg commentedon Aug 27, 2018
The issue here is that we're not examining all constraints of indexed access types in type relations, rather we jump straight to base constraints.
In exploring the issue I also discovered that this errors where it shouldn't:
I'll put up a PR with a fix shortly.