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

Function clearCachedInferences

test/fixtures/snapshot/typescript.js:68067–68074  ·  view source on GitHub ↗
(inferences)

Source from the content-addressed store, hash-verified

68065 return t;
68066 }
68067 function clearCachedInferences(inferences) {
68068 for (var _i = 0, inferences_1 = inferences; _i < inferences_1.length; _i++) {
68069 var inference = inferences_1[_i];
68070 if (!inference.isFixed) {
68071 inference.inferredType = undefined;
68072 }
68073 }
68074 }
68075 function addIntraExpressionInferenceSite(context, node, type) {
68076 var _a;
68077 ((_a = context.intraExpressionInferenceSites) !== null && _a !== void 0 ? _a : (context.intraExpressionInferenceSites = [])).push({ node: node, type: type });

Callers 2

mapToInferredTypeFunction · 0.85
inferFromTypesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…