Skip to content

Commit d2291d0

Browse files
Remove console.log statements from prune-dts.ts
1 parent 50a65e4 commit d2291d0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

repo-scripts/prune-dts/prune-dts.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,6 @@ function findExternalExport(
527527
// implementation currently does not handle function exports,
528528
// which is the only place we expect name collisions.
529529
if (symbol.name === localSymbolName) {
530-
console.log(`===== removing external export ${symbol.name}`)
531530
return otherExportSourceFile;
532531
}
533532
}
@@ -586,8 +585,6 @@ function dropPrivateApiTransformer(
586585
// Remove any types that are exported externally
587586
const externalExportFile = findExternalExport(typeChecker, sourceFile, node, otherExportSourceFiles);
588587
if (externalExportFile && node.name) {
589-
console.log(`==== sourceFile.filename ${sourceFile.fileName}`)
590-
console.log(`==== externalExportFile.filename ${externalExportFile.fileName}`)
591588
ensureImportsForFile(path.relative(path.dirname(sourceFile.fileName), externalExportFile.fileName)).push(node.name.text);
592589
return ts.factory.createNotEmittedStatement(node);
593590
}

0 commit comments

Comments
 (0)