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

Function cloneInferredPartOfContext

test/fixtures/snapshot/typescript.js:68130–68135  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

68128 };
68129 }
68130 function cloneInferredPartOfContext(context) {
68131 var inferences = ts.filter(context.inferences, hasInferenceCandidates);
68132 return inferences.length ?
68133 createInferenceContextWorker(ts.map(inferences, cloneInferenceInfo), context.signature, context.flags, context.compareTypes) :
68134 undefined;
68135 }
68136 function getMapperFromContext(context) {
68137 return context && context.mapper;
68138 }

Callers 1

inferTypeArgumentsFunction · 0.85

Calls 3

filterMethod · 0.65
mapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…