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

Function inferTypeFromExpressionStatement

test/fixtures/snapshot/typescript.js:157077–157079  ·  view source on GitHub ↗
(node, usage)

Source from the content-addressed store, hash-verified

157075 }
157076 }
157077 function inferTypeFromExpressionStatement(node, usage) {
157078 addCandidateType(usage, ts.isCallExpression(node) ? checker.getVoidType() : checker.getAnyType());
157079 }
157080 function inferTypeFromPrefixUnaryExpression(node, usage) {
157081 switch (node.operator) {
157082 case 45 /* SyntaxKind.PlusPlusToken */:

Callers 1

calculateUsageOfNodeFunction · 0.85

Calls 1

addCandidateTypeFunction · 0.85

Tested by

no test coverage detected