Don't build type catalog during server tracing (#43354)

Bonus: this also drops the redundant type catalog from the
non-diagnostics-producing checker.
This commit is contained in:
Andrew Casey
2021-03-25 15:52:04 -07:00
committed by GitHub
parent e10a32591c
commit 3db6d803d5
8 changed files with 16 additions and 17 deletions

View File

@@ -675,7 +675,7 @@ namespace ts {
const compilerOptions = program.getCompilerOptions();
if (canTrace(sys, compilerOptions)) {
tracing?.stopTracing(program.getTypeCatalog());
tracing?.stopTracing();
}
let statistics: Statistic[];