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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TypeScript] Assert fail #8837
Comments
Hey @jj-choi! We really appreciate you taking the time to report an issue. The collaborators If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack |
This issue also occurs when merge conflict message like "<<<<<<< HEAD" occurs after TypeScript interface declaration.
|
Found another example of this error:
An inline ternary which assigns JSX to a variable. It is only the |
this issue seem to be fixed in jsx or when react preset is enabled |
Fixed by #12599, thanks! |
Bug Report
Current Behavior
Code fails with Babel, but it works with TSC
Input Code
Babel Configuration (.babelrc, package.json, cli command)
Environment
The text was updated successfully, but these errors were encountered: