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

Function createInferenceContext

test/fixtures/snapshot/typescript.js:68032–68034  ·  view source on GitHub ↗
(typeParameters, signature, flags, compareTypes)

Source from the content-addressed store, hash-verified

68030 }
68031 }
68032 function createInferenceContext(typeParameters, signature, flags, compareTypes) {
68033 return createInferenceContextWorker(typeParameters.map(createInferenceInfo), signature, flags, compareTypes || compareTypesAssignable);
68034 }
68035 function cloneInferenceContext(context, extraFlags) {
68036 if (extraFlags === void 0) { extraFlags = 0; }
68037 return context && createInferenceContextWorker(ts.map(context.inferences, cloneInferenceInfo), context.signature, context.flags | extraFlags, context.compareTypes);

Callers 6

_loop_18Function · 0.85
structuredTypeRelatedToFunction · 0.85
inferTypeArgumentsFunction · 0.85
chooseOverloadFunction · 0.85

Calls 2

mapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…