You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to support EcmaScript-style imports, there needs to be a way to cause the generated TypeScript to add an export keyword before each of its declared modules. Perhaps this could be done with a specific command-line flag or something.
You might also consider changing the module keyword to the now-preferred namespace keyword as well.
The text was updated successfully, but these errors were encountered:
Now that EcmaScript has modules, the more accepted way to organize types is via the
export
/import
keywords. Typescript's "internal modules" have been renamed to "namespaces"In order to support EcmaScript-style imports, there needs to be a way to cause the generated TypeScript to add an
export
keyword before each of its declaredmodule
s. Perhaps this could be done with a specific command-line flag or something.You might also consider changing the
module
keyword to the now-preferrednamespace
keyword as well.The text was updated successfully, but these errors were encountered: