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

Function tryFindWhenConstTypeReference

test/fixtures/snapshot/typescript.js:73048–73050  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

73046 }
73047 return undefined;
73048 function tryFindWhenConstTypeReference(node) {
73049 return getContextualType(node);
73050 }
73051 }
73052 function getInferenceContext(node) {
73053 var ancestor = ts.findAncestor(node, function (n) { return !!n.inferenceContext; });

Callers 1

getContextualTypeFunction · 0.85

Calls 1

getContextualTypeFunction · 0.85

Tested by

no test coverage detected