We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I admit the title is very specific 😄
The following structure doesn't parse with ESBuild, but seems fine per the TS playground:
_ as any ? async () => _ : _;
The text was updated successfully, but these errors were encountered:
It appears this is actually a broader issue with typecasted ternary conditions, it's just that this particular case results in a parse error.
For example, esbuild currently transforms a as any ? b : c; into a;
a as any ? b : c;
a;
Sorry, something went wrong.
release notes for #541
6379142
The fix for this has been released. Thanks so much for reporting this.
Successfully merging a pull request may close this issue.
I admit the title is very specific 😄
The following structure doesn't parse with ESBuild, but seems fine per the TS playground:
The text was updated successfully, but these errors were encountered: