[Bug]: Syntax error is thrown for override modifiers for parameter properties #13427
Closed
1 task done
Labels
area: typescript
i: bug
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
pkg: parser
馃捇
How are you using Babel?
Programmatic API (
babel.transform
,babel.parse
)Input code
Configuration file name
No response
Configuration
Current and expected behavior
Current:
Syntax error
Unexpected token, expected "," (2:35)
is thrown.(Babel try it out link)Expected:
Success to parse
Environment
Use latest
babel/parser
directly.Possible solution
No response
Additional context
from: prettier/prettier#11017
TS Playground Link
TypeScript Compiler allows this syntax explicitly (ref: microsoft/TypeScript#43831)
The text was updated successfully, but these errors were encountered: