File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -8685,13 +8685,6 @@ namespace ts {
8685
8685
inferFromTypes(getUnionType(map(getPropertiesOfType(source), getTypeOfSymbol)), getTemplateTypeFromMappedType(<MappedType>target));
8686
8686
return;
8687
8687
}
8688
- if (getObjectFlags(source) & ObjectFlags.Mapped) {
8689
- // We're inferring from a mapped type to a mapped type, so simply infer from constraint type to
8690
- // constraint type and from template type to template type.
8691
- inferFromTypes(getConstraintTypeFromMappedType(<MappedType>source), constraintType);
8692
- inferFromTypes(getTemplateTypeFromMappedType(<MappedType>source), getTemplateTypeFromMappedType(<MappedType>target));
8693
- return;
8694
- }
8695
8688
}
8696
8689
inferFromProperties(source, target);
8697
8690
inferFromSignatures(source, target, SignatureKind.Call);
You can’t perform that action at this time.
0 commit comments