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

Function combineFromUsage

test/fixtures/snapshot/typescript.js:157264–157266  ·  view source on GitHub ↗
(usage)

Source from the content-addressed store, hash-verified

157262 return inferences.filter(function (i) { return toRemove.every(function (f) { return !f(i); }); });
157263 }
157264 function combineFromUsage(usage) {
157265 return combineTypes(inferTypes(usage));
157266 }
157267 function combineTypes(inferences) {
157268 if (!inferences.length)
157269 return checker.getAnyType();

Callers 5

inferTypesFunction · 0.85
inferStructuralTypeFunction · 0.85
getSignatureFromCallsFunction · 0.85

Calls 2

combineTypesFunction · 0.85
inferTypesFunction · 0.85

Tested by

no test coverage detected