Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A 'declare' modifier is required for a top level declaration in a .d.ts file. #57

Open
arrowfunxtion opened this issue Oct 30, 2017 · 4 comments

Comments

@arrowfunxtion
Copy link

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.

@teltploek
Copy link

I have the same issue. Is there any way to have the bundle retain the declare modifier in the bundle result?

@Bielik20
Copy link

Bielik20 commented May 2, 2019

I have created PR for this issue: #77

@nilss0n
Copy link

nilss0n commented Sep 12, 2019

I also have the same issue, is there anything blocking #77 from being merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants