Improve errors for potential arrow functions #25898
Labels
Bug
A bug in TypeScript
Domain: Error Messages
The issue relates to error messaging
Effort: Moderate
Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".
Help Wanted
You can do this
Milestone
There are certain locations where arrow functions don't parse
In these instances, it would be nice if users could get a better error message as to avoid issues like #25897.
Ideally this should not be an invasive change.
The text was updated successfully, but these errors were encountered: