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
Testcase: https://esbuild.github.io/try/#dAAwLjE3LjYALS1wbGF0Zm9ybT1uZXV0cmFsIC0tZm9ybWF0PWVzbSAtLWxvYWRlcj10cwBpbXBvcnQgdHlwZSB0IGZyb20gInRzeCI7CgpleHBvcnQgdHlwZQp7CiAgdAp9Ow
Specifically, when compiling:
import type t from "tsx"; export type { t };
esbuild doesn't like the opening brace on the next line. If you move the brace up to the same line as "export type" the error disappears.
The testcase is legal Typescript, so I believe esbuild's behavior is a bug.
The text was updated successfully, but these errors were encountered:
Thanks for the report. I think this is happening because the following is supposed to be invalid:
export type T = t
So esbuild needs to distinguish between these two cases.
Sorry, something went wrong.
bf165fc
No branches or pull requests
Testcase: https://esbuild.github.io/try/#dAAwLjE3LjYALS1wbGF0Zm9ybT1uZXV0cmFsIC0tZm9ybWF0PWVzbSAtLWxvYWRlcj10cwBpbXBvcnQgdHlwZSB0IGZyb20gInRzeCI7CgpleHBvcnQgdHlwZQp7CiAgdAp9Ow
Specifically, when compiling:
esbuild doesn't like the opening brace on the next line. If you move the brace up to the same line as "export type" the error disappears.
The testcase is legal Typescript, so I believe esbuild's behavior is a bug.
The text was updated successfully, but these errors were encountered: