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

Function inferTypeFromSwitchStatementLabel

test/fixtures/snapshot/typescript.js:157193–157195  ·  view source on GitHub ↗
(parent, usage)

Source from the content-addressed store, hash-verified

157191 }
157192 }
157193 function inferTypeFromSwitchStatementLabel(parent, usage) {
157194 addCandidateType(usage, checker.getTypeAtLocation(parent.parent.parent.expression));
157195 }
157196 function inferTypeFromCallExpression(parent, usage) {
157197 var call = {
157198 argumentTypes: [],

Callers 1

calculateUsageOfNodeFunction · 0.85

Calls 1

addCandidateTypeFunction · 0.85

Tested by

no test coverage detected