Skip to content

Commit 332a61e

Browse files
authored
Removes redundant comments (#20214)
1 parent a0dec26 commit 332a61e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/checker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23334,7 +23334,7 @@ namespace ts {
2333423334
function checkExportSpecifier(node: ExportSpecifier) {
2333523335
checkAliasSymbol(node);
2333623336
if (compilerOptions.declaration) {
23337-
collectLinkedAliases(node.propertyName || node.name, /*setVisibility*/ true); // Collect linked aliases to set visibility links
23337+
collectLinkedAliases(node.propertyName || node.name, /*setVisibility*/ true);
2333823338
}
2333923339
if (!(<ExportDeclaration>node.parent.parent).moduleSpecifier) {
2334023340
const exportedName = node.propertyName || node.name;
@@ -23375,7 +23375,7 @@ namespace ts {
2337523375
markExportAsReferenced(node);
2337623376

2337723377
if (compilerOptions.declaration) {
23378-
collectLinkedAliases(node.expression as Identifier, /*setVisibility*/ true); // Sets visibility flags on refernced nodes
23378+
collectLinkedAliases(node.expression as Identifier, /*setVisibility*/ true);
2337923379
}
2338023380
}
2338123381
else {

0 commit comments

Comments
 (0)