Use 'export' keyword instead of 'declare' when namespaces are removed#12
Use 'export' keyword instead of 'declare' when namespaces are removed#12james-maloney wants to merge 1 commit into
Conversation
|
How do you need to replace the |
|
I want to be able to import these types into my code base. Using declare does not allow me to use the generated types when I remove the namespaces. This PR is an attempt to fix this issue. Issue #7 describes the issue well. I apologize for the formatting changes, those were done by my editor. |
|
If you use But is it easier to use it if you always the |
|
I think people (me for sure) find it better to explicitly import a type, instead of declare and treating it like a global |
|
This is a problem. Please fix it so the namespace is exported. |
Fixes #7