mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Only catalog types when tracing (#43446)
(cherry picked from commit 9fd2b48c51)
This commit is contained in:
@@ -3778,7 +3778,9 @@ namespace ts {
|
||||
const result = new Type(checker, flags);
|
||||
typeCount++;
|
||||
result.id = typeCount;
|
||||
typeCatalog.push(result);
|
||||
if (tracing) {
|
||||
typeCatalog.push(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user