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
module git {
export interface TreeElem {
sha:string;
path:string;
// ..
}
}
// other file
var elem:git.TreeElem = ....
I believe TypeScript does it too.
module TypeScript {
export class LanguageWidget {
// ..
}
}
// other file
var instance = new TypeScript.LanguageWidget();
I would like to export these somehow. They can even be levels deeper nested (like packages in Java or AS3), sometimes they are used with export keyword.
// Export simply as dot seperated name (like in the code)?
{
"$ref" = "#/definitions/TypeScript.LanguageWidget"
}
// Or maybe forward slashes (unsafe maybe)?
{
"$ref" = "#/definitions/TypeScript/LanguageWidget"
}
The text was updated successfully, but these errors were encountered:
I have most code in modules (like a namespace)
I believe TypeScript does it too.
I would like to export these somehow. They can even be levels deeper nested (like packages in Java or AS3), sometimes they are used with
export
keyword.The text was updated successfully, but these errors were encountered: