Error range for JSX components spans the whole compoenent #23116
Labels
Bug
A bug in TypeScript
Domain: JSX/TSX
Relates to the JSX parser and emitter
Fixed
A PR has been merged for this issue
Milestone
Missing attribute error highlights the whole component, which can be distracting, and does not help in pointing out the source of the problem. We should instead highlight the component name in these cases.
Originally reported in https://twitter.com/keeskluskens/status/981168047204458501
The text was updated successfully, but these errors were encountered: