-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
Domain: Related Error SpansSpecifying regions for error messages/diagnostics on multiple locations.Specifying regions for error messages/diagnostics on multiple locations.FixedA PR has been merged for this issueA PR has been merged for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
Now that we support multiple related spans for errors (#10489, #22789, #24548), we'd like to improve an existing error message.
Currently we have the following error for assignability checks:
Type '{0}' is not assignable to type '{1}'.
Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated.
@weswigham had some ideas to iterate on these error messages.
Metadata
Metadata
Assignees
Labels
Domain: Related Error SpansSpecifying regions for error messages/diagnostics on multiple locations.Specifying regions for error messages/diagnostics on multiple locations.FixedA PR has been merged for this issueA PR has been merged for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript