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

Function getCommonJSPropertyAccess

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

Source from the content-addressed store, hash-verified

50721 return resolved;
50722 }
50723 function getCommonJSPropertyAccess(node) {
50724 if (ts.isVariableDeclaration(node) && node.initializer && ts.isPropertyAccessExpression(node.initializer)) {
50725 return node.initializer;
50726 }
50727 }
50728 function getTargetOfNamespaceExportDeclaration(node, dontResolveAlias) {
50729 var resolved = resolveExternalModuleSymbol(node.parent.symbol, dontResolveAlias);
50730 markSymbolOfAliasDeclarationIfTypeOnly(node, /*immediateTarget*/ undefined, resolved, /*overwriteEmpty*/ false);

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…