[Bug]: Unexpected token
syntax error is thrown with classStaticBlock
and typescript
.
#13234
Closed
1 task done
Labels
area: errors
area: typescript
i: bug
i: regression
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
pkg: parser
Spec: Class Static Block
馃捇
How are you using Babel?
Other (Next.js, Gatsby, vue-cli, ...)
Input code
Configuration file name
No response
Configuration
Use
classStaticBlock
andtypescript
plugin.Current and expected behavior
current:
SyntaxError: Unexpected token
expected:
no error
Environment
@babel/parser
7.14.0Possible solution
No response
Additional context
prettier/prettier#10802 (comment)
The text was updated successfully, but these errors were encountered: