* This is *not* a bi-directional relationship. * If one needs to check both directions for comparability, use a second call to this function or 'isTypeComparableTo'.
(source, target, errorNode, headMessage, containingMessageChain)
| 64322 | * If one needs to check both directions for comparability, use a second call to this function or 'isTypeComparableTo'. |
| 64323 | */ |
| 64324 | function checkTypeComparableTo(source, target, errorNode, headMessage, containingMessageChain) { |
| 64325 | return checkTypeRelatedTo(source, target, comparableRelation, errorNode, headMessage, containingMessageChain); |
| 64326 | } |
| 64327 | function isSignatureAssignableTo(source, target, ignoreReturnTypes) { |
| 64328 | return compareSignaturesRelated(source, target, ignoreReturnTypes ? 4 /* SignatureCheckMode.IgnoreReturnTypes */ : 0, /*reportErrors*/ false, |
| 64329 | /*errorReporter*/ undefined, /*errorReporter*/ undefined, compareTypesAssignable, /*reportUnreliableMarkers*/ undefined) !== 0 /* Ternary.False */; |
no test coverage detected
searching dependent graphs…