MCPcopy Create free account
hub / github.com/nodejs/node / signatureRelatedTo

Function signatureRelatedTo

test/fixtures/snapshot/typescript.js:66729–66731  ·  view source on GitHub ↗

* See signatureAssignableTo, compareSignaturesIdentical

(source, target, erase, reportErrors, incompatibleReporter)

Source from the content-addressed store, hash-verified

66727 * See signatureAssignableTo, compareSignaturesIdentical
66728 */
66729 function signatureRelatedTo(source, target, erase, reportErrors, incompatibleReporter) {
66730 return compareSignaturesRelated(erase ? getErasedSignature(source) : source, erase ? getErasedSignature(target) : target, relation === strictSubtypeRelation ? 8 /* SignatureCheckMode.StrictArity */ : 0, reportErrors, reportError, incompatibleReporter, isRelatedToWorker, makeFunctionTypeMapper(reportUnreliableMarkers));
66731 }
66732 function signaturesIdenticalTo(source, target, kind) {
66733 var sourceSignatures = getSignaturesOfType(source, kind);
66734 var targetSignatures = getSignaturesOfType(target, kind);

Callers 1

signaturesRelatedToFunction · 0.85

Calls 3

compareSignaturesRelatedFunction · 0.85
getErasedSignatureFunction · 0.85
makeFunctionTypeMapperFunction · 0.85

Tested by

no test coverage detected