Closed heruan closed 8 years ago
IMHO dts-bundle
should remove all export
s of types already present in the module declaration, since anything in the module declaration is already exported implicitly.
Maybe I'm wrong, closing for now until I've a chance to investigate more on this.
Say I have a main
index.d.ts
generated by the TS compiler such as:then
dts-bundle
produces this:which throws this error when seen by the compiler:
After removing the
export { Logger, Cache };
line, it works.