code: function signatureRelatedTo(source, target, reportErrors) {
                  return compareSignaturesRelated(source, target, /*ignoreReturnTypes*/ false, reportErrors, reportError, isRelatedTo);
              }
docs: See signatureAssignableTo, compareSignaturesIdentical