Show some elaboration for property not existing in union type #10256
Labels
Committed
The team has roadmapped this issue
Effort: Moderate
Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".
Fixed
A PR has been merged for this issue
Help Wanted
You can do this
Suggestion
An idea for TypeScript
Milestone
I have some code like this, except there are about a dozen types instead of just three:
The error reported is
This is inactionable on a union type, especially when its consituents are hidden behind an alias. We should show something like
The text was updated successfully, but these errors were encountered: