Removes redundant comments (#20214)
This commit is contained in:
parent
a0dec26d25
commit
332a61ee8b
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue