blackboardsh/electrobun

TypeScript definitions in npm package

Opened this issue · 1 comments

Can you publish TS definitions to npm?

ah my bad. Thanks for filing an issue I wouldn't have realized I broke this. 🌟

I'd been cleaning up what gets published to npm and was experimenting with pre-building the typescript apis for browser and bun processes.

What I really want and had before was just copy the source typescript for those directly to /dist (which goes to npm) so that when you actually run electrobun build for your app it should just import the parts of the api you use into your code and provide all the types as you work.

I think I just fixed/restored that. if you give 0.0.14 a try https://www.npmjs.com/package/electrobun