(node)
| 86905 | return false; |
| 86906 | } |
| 86907 | function isValueAliasDeclaration(node) { |
| 86908 | switch (node.kind) { |
| 86909 | case 265 /* SyntaxKind.ImportEqualsDeclaration */: |
| 86910 | return isAliasResolvedToValue(getSymbolOfNode(node)); |
| 86911 | case 267 /* SyntaxKind.ImportClause */: |
| 86912 | case 268 /* SyntaxKind.NamespaceImport */: |
| 86913 | case 270 /* SyntaxKind.ImportSpecifier */: |
| 86914 | case 275 /* SyntaxKind.ExportSpecifier */: |
| 86915 | var symbol = getSymbolOfNode(node); |
| 86916 | return !!symbol && isAliasResolvedToValue(symbol) && !getTypeOnlyAliasDeclaration(symbol); |
| 86917 | case 272 /* SyntaxKind.ExportDeclaration */: |
| 86918 | var exportClause = node.exportClause; |
| 86919 | return !!exportClause && (ts.isNamespaceExport(exportClause) || |
| 86920 | ts.some(exportClause.elements, isValueAliasDeclaration)); |
| 86921 | case 271 /* SyntaxKind.ExportAssignment */: |
| 86922 | return node.expression && node.expression.kind === 79 /* SyntaxKind.Identifier */ ? |
| 86923 | isAliasResolvedToValue(getSymbolOfNode(node)) : |
| 86924 | true; |
| 86925 | } |
| 86926 | return false; |
| 86927 | } |
| 86928 | function isTopLevelValueImportEqualsWithEntityName(nodeIn) { |
| 86929 | var node = ts.getParseTreeNode(nodeIn, ts.isImportEqualsDeclaration); |
| 86930 | if (node === undefined || node.parent.kind !== 305 /* SyntaxKind.SourceFile */ || !ts.isInternalModuleImportEqualsDeclaration(node)) { |
no test coverage detected
searching dependent graphs…