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

Function handleImportCall

test/fixtures/snapshot/typescript.js:136317–136320  ·  view source on GitHub ↗
(importCall)

Source from the content-addressed store, hash-verified

136315 }
136316 }
136317 function handleImportCall(importCall) {
136318 var top = ts.findAncestor(importCall, isAmbientModuleDeclaration) || importCall.getSourceFile();
136319 addIndirectUser(top, /** addTransitiveDependencies */ !!isExported(importCall, /** stopAtAmbientModule */ true));
136320 }
136321 function isExported(node, stopAtAmbientModule) {
136322 if (stopAtAmbientModule === void 0) { stopAtAmbientModule = false; }
136323 return ts.findAncestor(node, function (node) {

Callers 1

handleDirectImportsFunction · 0.85

Calls 2

addIndirectUserFunction · 0.85
isExportedFunction · 0.85

Tested by

no test coverage detected