Related error spans for too few arguments #25255
Labels
Bug
A bug in TypeScript
Domain: Related Error Spans
Specifying regions for error messages/diagnostics on multiple locations.
Milestone
Now that we support multiple related spans for errors (#10489, #22789, #24548), we'd like to improve an existing error message.
When calling a function with too few arguments, we should see if we can provide a related span on the first missing parameter in the resolved call.
For example
The text was updated successfully, but these errors were encountered: