Skip to content

Commit 9fd2b48

Browse files
committed
Only catalog types when tracing
1 parent 451d435 commit 9fd2b48

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/compiler/checker.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3816,7 +3816,9 @@ namespace ts {
38163816
const result = new Type(checker, flags);
38173817
typeCount++;
38183818
result.id = typeCount;
3819-
typeCatalog.push(result);
3819+
if (tracing) {
3820+
typeCatalog.push(result);
3821+
}
38203822
return result;
38213823
}
38223824

0 commit comments

Comments
 (0)