FlorianRappl / dets

Generate a single declaration file for your TypeScript project. :rocket:
https://piral.io
MIT License
24 stars 5 forks source link

--module-declaration arg is not passed to `generateDeclaration`. #42

Closed michalkvasnicak closed 3 months ago

michalkvasnicak commented 3 months ago

I noticed that the --module-declaration arg is not passed to generateDeclaration. Because of that, using --no-module-declaration doesn't work to disable declare module ....

Workaround for now is to use programatic api and write your own script so you can pass noModuleDeclaration: false.

FlorianRappl commented 3 months ago

Good catch - thanks. You want to do a PR?

Otherwise I'd take care of it later.

FlorianRappl commented 3 months ago

Is fixed in the preview and will be out with 0.16.