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
export type * from
echo "export type * from './types'" | npx esbuild --loader=ts
results in:
✘ [ERROR] Expected identifier but found "*" <stdin>:1:12: 1 │ export type * from './types' ╵ ^ 1 error
The text was updated successfully, but these errors were encountered:
That's not valid TypeScript. The TypeScript compiler says this:
example.ts:1:1 - error TS1383: Only named exports may use 'export type'. 1 export type * from './types' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please check that your code is valid before assuming the problem is with esbuild. Closing this issue as invalid.
Sorry, something went wrong.
ignore invalid ts export type * from x (#2329)
export type * from x
ed97dee
oh sorry! this was in generated code so i assumed it was valid. sorry for that, should have checked. the upstream issue for this seems to be microsoft/TypeScript#37238 / microsoft/TypeScript#48508 btw.
No branches or pull requests
results in:
The text was updated successfully, but these errors were encountered: