Swatinem / rollup-plugin-dts

A rollup plugin to generate .d.ts rollup files for your typescript project
GNU Lesser General Public License v3.0
816 stars 71 forks source link

How can I export all types in the generated index.d.ts file? #321

Open LOVETOO opened 1 month ago

LOVETOO commented 1 month ago

By default, in the generated .d.ts file, only the type of the entry file is exported; but when other projects use this npm package, they need to use more types, and those types are not exported.

Version number: rollup@4 typescript@5 rollup-plugin-dts@6