bili icon indicating copy to clipboard operation
bili copied to clipboard

*.d.ts bundles

Open aleclarson opened this issue 6 years ago • 4 comments

Issuehunt badges

Can bili combine multiple .d.ts modules into a single .d.ts bundle?

If not, it could use API Extractor to do so.

There is a $90.00 open bounty on this issue. Add more on Issuehunt.

aleclarson avatar Apr 12 '19 16:04 aleclarson

Cool, I'll give it a shot, I only knew about dts-bundle before 😀

egoist avatar Apr 12 '19 17:04 egoist

@issuehunt has funded $90.00 to this issue.


IssueHuntBot avatar May 07 '19 07:05 IssueHuntBot

There's also https://www.npmjs.com/package/rollup-plugin-dts

aleclarson avatar May 07 '19 11:05 aleclarson

And @wessberg/rollup-plugin-ts which is great. But wait for next bigger release, some important things are happening in PRs there.

I thought for that for years, and now when there are some options I don't see much of a value in d.ts bundles. Yea, some tree shaking and single file but... Plus the fact I won't write in TS, but will provide .d.ts files for the public api index.d.ts and that's it. I still kind of hate TypeScript :D not hate but... it's too much for me and slows me instead of boosting me. I have pretty damn good flow, ESLint config (on top of Airbnb) and always strive for 100% test coverage, so...

tunnckoCore avatar Nov 18 '19 07:11 tunnckoCore