File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -15874,7 +15874,7 @@ namespace ts {
1587415874 // recursive intersections that are structurally similar but not exactly identical. See #37854.
1587515875 if (result && !inPropertyCheck && (
1587615876 target.flags & TypeFlags.Intersection && (isPerformingExcessPropertyChecks || isPerformingCommonPropertyChecks) ||
15877- isNonGenericObjectType(target) && source.flags & TypeFlags.Intersection && getApparentType(source).flags & TypeFlags.StructuredType && !some((<IntersectionType>source).types, t => !!(getObjectFlags(t) & ObjectFlags.NonInferrableType)))) {
15877+ isNonGenericObjectType(target) && !isArrayType(target) && !isTupleType(target) && source.flags & TypeFlags.Intersection && getApparentType(source).flags & TypeFlags.StructuredType && !some((<IntersectionType>source).types, t => !!(getObjectFlags(t) & ObjectFlags.NonInferrableType)))) {
1587815878 inPropertyCheck = true;
1587915879 result &= recursiveTypeRelatedTo(source, target, reportErrors, IntersectionState.PropertyCheck);
1588015880 inPropertyCheck = false;
You can’t perform that action at this time.
0 commit comments