-
Notifications
You must be signed in to change notification settings - Fork 109
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
declare as namespace
externs without namespaced module output
#905
Comments
We haven't yet figured out what it means to have externs from a module-shaped d.ts. I guess in your case because of the |
Yep. I'd like to have var A ={};
A.hello = function() {}; |
I think we don't have any support for this. If you'd like to hack it in for a one-time conversion, the code around Line 163 in d6b3a5d
is relevant. |
thanks. Now I understand why it is doing this. I will probably just write a script to remove the export statements before feeding it into tsickle. |
In TS, the |
declare as namespace
externs without namespaced module output
I'm generating externs file from a d.ts file which defines an UMD module. In the output, the filename becomes the top level namespace. I want to generate externs without this top level namespace. Is it possible?
the d.ts file:
The text was updated successfully, but these errors were encountered: