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

Function getPropertyOfVariable

test/fixtures/snapshot/typescript.js:50600–50607  ·  view source on GitHub ↗
(symbol, name)

Source from the content-addressed store, hash-verified

50598 }
50599 }
50600 function getPropertyOfVariable(symbol, name) {
50601 if (symbol.flags & 3 /* SymbolFlags.Variable */) {
50602 var typeAnnotation = symbol.valueDeclaration.type;
50603 if (typeAnnotation) {
50604 return resolveSymbol(getPropertyOfType(getTypeFromTypeNode(typeAnnotation), name));
50605 }
50606 }
50607 }
50608 function getExternalModuleMember(node, specifier, dontResolveAlias) {
50609 var _a, _b;
50610 if (dontResolveAlias === void 0) { dontResolveAlias = false; }

Callers 1

getExternalModuleMemberFunction · 0.85

Calls 3

resolveSymbolFunction · 0.85
getPropertyOfTypeFunction · 0.85
getTypeFromTypeNodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…