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

Function inferTypeFromPropertyDeclaration

test/fixtures/snapshot/typescript.js:157247–157249  ·  view source on GitHub ↗
(declaration, usage)

Source from the content-addressed store, hash-verified

157245 addCandidateThisType(usage, checker.getTypeAtLocation(nodeWithRealType));
157246 }
157247 function inferTypeFromPropertyDeclaration(declaration, usage) {
157248 addCandidateThisType(usage, checker.getTypeAtLocation(declaration.parent));
157249 }
157250 function removeLowPriorityInferences(inferences, priorities) {
157251 var toRemove = [];
157252 for (var _i = 0, inferences_1 = inferences; _i < inferences_1.length; _i++) {

Callers 1

calculateUsageOfNodeFunction · 0.85

Calls 1

addCandidateThisTypeFunction · 0.85

Tested by

no test coverage detected