Closed jasonswearingen closed 9 years ago
A better solution is on the horizon : https://github.com/Microsoft/TypeScript/issues/2338
Hopefully we will not need dts-bundle
soon
ok, hopefully it'll actually get solved. this issue has been on the typescript team's plate a long time :8ball:
Hi, looks like dts-bundle works great for single file projects.
But unfortunately if a project has multiple files, the relative import references are not transformed.
for example, if my original input
lib.d.ts
is:Solution?
As I'm using grunt-dts-bundle, I think a solution might be to transform this file to something like
and then I can walk my project, processing all my d.ts files this way, naming the dts-bundle output in a way that conforms with this additional transform.