Give better error message on consecutive numeric separators #20585
10000
Labels
Bug
A bug in TypeScript
Domain: Error Messages
The issue relates to error messaging
Fixed
A PR has been merged for this issue
Good First Issue
Well scoped, documented and has the green light
Help Wanted
You can do this
Milestone
Uh oh!
There was an error while loading. Please reload this page.
From #20324 (comment), and contingent on #20324 first getting merged.
Note the double underscores.
Actual:
Numeric separators are not allowed here.
A numeric literal cannot contain multiple consecutive separators.
Multiple consecutive numeric separators are not permitted.
The text was updated successfully, but these errors were encountered: