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

Function cloneInferenceContext

test/fixtures/snapshot/typescript.js:68035–68038  ·  view source on GitHub ↗
(context, extraFlags)

Source from the content-addressed store, hash-verified

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);
68038 }
68039 function createInferenceContextWorker(inferences, signature, flags, compareTypes) {
68040 var context = {
68041 inferences: inferences,

Callers 1

inferTypeArgumentsFunction · 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…