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:
1 parent
fbc9c942b2
commit
b925c165c4
1 file changed
+3
-1
@@ -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