All exports become export type
when the first re-export is a type export
#153
Labels
Bug
Something isn't working
export type
when the first re-export is a type export
#153
tsc
(if applicable): TS obviously doesn't bundle the declaration, but it does produce the correct output nonethelessReproduction
Given box.ts:
Expected Behavior
In:
Out:
Actual Behavior
In:
Out:
Repo: https://github.com/itsMapleLeaf/rollup-plugin-ts-export-type-issue
If I swap the lines in the input file, so that
export { createBox }
is aboveexport type { Box }
, then the output isexport { Box, createBox };
The text was updated successfully, but these errors were encountered: