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

Function skippedGenericFunction

test/fixtures/snapshot/typescript.js:79694–79701  ·  view source on GitHub ↗
(node, checkMode)

Source from the content-addressed store, hash-verified

79692 return type;
79693 }
79694 function skippedGenericFunction(node, checkMode) {
79695 if (checkMode & 2 /* CheckMode.Inferential */) {
79696 // We have skipped a generic function during inferential typing. Obtain the inference context and
79697 // indicate this has occurred such that we know a second pass of inference is be needed.
79698 var context = getInferenceContext(node);
79699 context.flags |= 4 /* InferenceFlags.SkippedGenericFunction */;
79700 }
79701 }
79702 function hasInferenceCandidates(info) {
79703 return !!(info.candidates || info.contraCandidates);
79704 }

Calls 1

getInferenceContextFunction · 0.85

Tested by

no test coverage detected