Skip to content

Commit

Permalink
Removes redundant comments (#20214)
Browse files Browse the repository at this point in the history
  • Loading branch information
weswigham authored Nov 22, 2017
1 parent a0dec26 commit 332a61e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 332a61e

Please sign in to comment.