(node, stopAtAmbientModule)
| 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) { |
| 136324 | if (stopAtAmbientModule && isAmbientModuleDeclaration(node)) |
| 136325 | return "quit"; |
| 136326 | return ts.some(node.modifiers, function (mod) { return mod.kind === 93 /* SyntaxKind.ExportKeyword */; }); |
| 136327 | }); |
| 136328 | } |
| 136329 | function handleNamespaceImport(importDeclaration, name, isReExport, alreadyAddedDirect) { |
| 136330 | if (exportKind === 2 /* ExportKind.ExportEquals */) { |
| 136331 | // This is a direct import, not import-as-namespace. |
no test coverage detected