mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
Only catalog types when tracing (#43304)
This commit is contained in:
parent
fbc9c942b2
commit
b925c165c4
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user