New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: cannot parse satisfies
op that is in in left side of assignment
#15095
Comments
I'm still getting a syntax error on |
@mnpenner Have you tried updating |
@liuxingbaoyu Yes, running |
Same boat here @mnpenner . Did you end up getting it resolved? |
@lehighjcut Nope. Still have no idea what the issue is. My IDE (PhpStorm) isn't showing any errors, says I'm running TS 4.9.4. But when I try compile my app I get:
The first line is from my app, where I tried to use |
The easiest way, you can try to delete |
Deleting *.lock and node_modules and re-running Looking into this thread which seems like it has a potential solution just posted: #15157 (comment) |
@liuxingbaoyu That worked for me actually! Kind of a nuclear option, but nothing seems to have broken yet. |
馃捇
How are you using Babel?
Programmatic API (
babel.transform
,babel.parse
)Input code
Configuration file name
No response
Configuration
Enable
typescript
plugin via@babel/parser
API.Current and expected behavior
current:
Syntax error:
Invalid parenthesized assignment pattern. (2:1)
expected:
No errors.
Environment
Possible solution
No response
Additional context
TypeScript compiler can parse it (TypeScript playground Link)
The text was updated successfully, but these errors were encountered: