(source, target)
| 66885 | return isUnitType(type) || !!(type.flags & 134217728 /* TypeFlags.TemplateLiteral */); |
| 66886 | } |
| 66887 | function getExactOptionalUnassignableProperties(source, target) { |
| 66888 | if (isTupleType(source) && isTupleType(target)) |
| 66889 | return ts.emptyArray; |
| 66890 | return getPropertiesOfType(target) |
| 66891 | .filter(function (targetProp) { return isExactOptionalPropertyMismatch(getTypeOfPropertyOfType(source, targetProp.escapedName), getTypeOfSymbol(targetProp)); }); |
| 66892 | } |
| 66893 | function isExactOptionalPropertyMismatch(source, target) { |
| 66894 | return !!source && !!target && maybeTypeOfKind(source, 32768 /* TypeFlags.Undefined */) && !!containsMissingType(target); |
| 66895 | } |
no test coverage detected