MCPcopy Index your code
hub / github.com/nodejs/node / inferFromContravariantTypes

Function inferFromContravariantTypes

test/fixtures/snapshot/typescript.js:68746–68755  ·  view source on GitHub ↗
(source, target)

Source from the content-addressed store, hash-verified

68744 }
68745 }
68746 function inferFromContravariantTypes(source, target) {
68747 if (strictFunctionTypes || priority & 1024 /* InferencePriority.AlwaysStrict */) {
68748 contravariant = !contravariant;
68749 inferFromTypes(source, target);
68750 contravariant = !contravariant;
68751 }
68752 else {
68753 inferFromTypes(source, target);
68754 }
68755 }
68756 function getInferenceInfoForType(type) {
68757 if (type.flags & 8650752 /* TypeFlags.TypeVariable */) {
68758 for (var _i = 0, inferences_2 = inferences; _i < inferences_2.length; _i++) {

Callers 1

inferFromTypeArgumentsFunction · 0.85

Calls 1

inferFromTypesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…