File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -14952,12 +14952,6 @@ namespace ts {
1495214952 includes & TypeFlags.IncludesWildcard ? wildcardType : anyType :
1495314953 includes & TypeFlags.Null || containsType(typeSet, unknownType) ? unknownType : nonNullUnknownType;
1495414954 }
14955- if (includes & TypeFlags.Undefined) {
14956- const missingIndex = binarySearch(typeSet, missingType, getTypeId, compareValues);
14957- if (missingIndex >= 0 && containsType(typeSet, undefinedType)) {
14958- orderedRemoveItemAt(typeSet, missingIndex);
14959- }
14960- }
1496114955 if (includes & (TypeFlags.Literal | TypeFlags.UniqueESSymbol | TypeFlags.TemplateLiteral | TypeFlags.StringMapping) || includes & TypeFlags.Void && includes & TypeFlags.Undefined) {
1496214956 removeRedundantLiteralTypes(typeSet, includes, !!(unionReduction & UnionReduction.Subtype));
1496314957 }
You can’t perform that action at this time.
0 commit comments