egoist / tsup

The simplest and fastest way to bundle your TypeScript libraries.
https://tsup.egoist.dev
MIT License
9.23k stars 218 forks source link

Feature request: Add option to include TSDoc annotations in the d.ts file #944

Open asbp opened 1 year ago

asbp commented 1 year ago

Hello! I have some codes that have TSDoc annotations on them. I want them to be included in d.ts file as well as in outputted js(es).

Upvote & Fund

Fund with Polar

arabold commented 1 week ago

This might be painfully obvious but making sure you set removeComments to false in your tsconfig.json should work.