[Bug]: keywords allowed for identifiers in Typescript #14318
Labels
i: needs triage
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
馃捇
How are you using Babel?
Programmatic API (
babel.transform
,babel.parse
)Input code
RunKit link: https://runkit.com/tolmasky/keywords-as-identifiers-in-typescript
Configuration file name
No response
Configuration
No response
Current and expected behavior
Current behavior: no error
Expected behavior: Should throw an error.
Environment
Possible solution
This is fixed in #14320
Additional context
No response
The text was updated successfully, but these errors were encountered: