dts-bundle
dts-bundle copied to clipboard
A 'declare' modifier is required for a top level declaration in a .d.ts file.
When I bundle outputAsModuleFolder : true, every top level const, var, or let will need a declare. But the declare
modifier is removed inside the BundleResult.
Refer to this https://stackoverflow.com/questions/17635033/error-ts1046-declare-modifier-required-for-top-level-element/17635034
I have the same issue. Is there any way to have the bundle retain the declare
modifier in the bundle result?
I have created PR for this issue: https://github.com/TypeStrong/dts-bundle/pull/77
I also have the same issue, is there anything blocking #77 from being merged?