mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Remove redundant call
This commit is contained in:
1 parent
d98caabaca
commit
260a665264
1 file changed
+1
-1
@@ -13309,7 +13309,7 @@ namespace ts {
|
||||
addNamedUnions(namedUnions, types);
|
||||
const reducedTypes: Type[] = [];
|
||||
for (const t of typeSet) {
|
||||
if (!isNamedUnionType(t) && !some(namedUnions, union => containsType((<UnionType>union).types, t))) {
|
||||
if (!some(namedUnions, union => containsType((<UnionType>union).types, t))) {
|
||||
reducedTypes.push(t);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user