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

Function getTargetOfNamespaceExport

test/fixtures/snapshot/typescript.js:50549–50555  ·  view source on GitHub ↗
(node, dontResolveAlias)

Source from the content-addressed store, hash-verified

50547 return resolved;
50548 }
50549 function getTargetOfNamespaceExport(node, dontResolveAlias) {
50550 var moduleSpecifier = node.parent.moduleSpecifier;
50551 var immediate = moduleSpecifier && resolveExternalModuleName(node, moduleSpecifier);
50552 var resolved = moduleSpecifier && resolveESModuleSymbol(immediate, moduleSpecifier, dontResolveAlias, /*suppressUsageError*/ false);
50553 markSymbolOfAliasDeclarationIfTypeOnly(node, immediate, resolved, /*overwriteEmpty*/ false);
50554 return resolved;
50555 }
50556 // This function creates a synthetic symbol that combines the value side of one symbol with the
50557 // type/namespace side of another symbol. Consider this example:
50558 //

Callers 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…