Removes redundant comments (#20214)

This commit is contained in:
Wesley Wigham
2017-11-21 20:22:26 -08:00
committed by GitHub
parent a0dec26d25
commit 332a61ee8b

View File

@@ -23334,7 +23334,7 @@ namespace ts {
function checkExportSpecifier(node: ExportSpecifier) {
checkAliasSymbol(node);
if (compilerOptions.declaration) {
collectLinkedAliases(node.propertyName || node.name, /*setVisibility*/ true); // Collect linked aliases to set visibility links
collectLinkedAliases(node.propertyName || node.name, /*setVisibility*/ true);
}
if (!(<ExportDeclaration>node.parent.parent).moduleSpecifier) {
const exportedName = node.propertyName || node.name;
@@ -23375,7 +23375,7 @@ namespace ts {
markExportAsReferenced(node);
if (compilerOptions.declaration) {
collectLinkedAliases(node.expression as Identifier, /*setVisibility*/ true); // Sets visibility flags on refernced nodes
collectLinkedAliases(node.expression as Identifier, /*setVisibility*/ true);
}
}
else {