Comments for module declaration

This commit is contained in:
Sheetal Nandi
2014-08-14 06:53:37 -07:00
parent 84fa5b421a
commit c9d16b002d
76 changed files with 1812 additions and 1560 deletions
+2
View File
@@ -1569,6 +1569,7 @@ module ts {
function emitModuleDeclaration(node: ModuleDeclaration) {
if (!isInstantiated(node)) return;
emitLeadingComments(node);
if (!(node.flags & NodeFlags.Export)) {
emitStart(node);
write("var ");
@@ -1615,6 +1616,7 @@ module ts {
emitEnd(node);
write(";");
}
emitTrailingComments(node);
}
function emitImportDeclaration(node: ImportDeclaration) {