mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Only catalog types when tracing (#43304)
This commit is contained in:
@@ -3816,7 +3816,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