DEV Community

[Comment from a deleted post]
Collapse
 
daviddalbusco profile image
David Dal Busco

You are right, it will generate multiple .d.ts files but, one .js file.

It worked out for my project, as was able to import the libs and use their typescript declaration.

Can check these libs there github.com/deckgo/deckdeckgo/tree/...

This one is the related discussion / issue in the esbuild GitHub repo and why I went with tsc to generate the declarations.