(statement)
| 54165 | return !!node && node.kind === 79 /* SyntaxKind.Identifier */; |
| 54166 | } |
| 54167 | function getNamesOfDeclaration(statement) { |
| 54168 | if (ts.isVariableStatement(statement)) { |
| 54169 | return ts.filter(ts.map(statement.declarationList.declarations, ts.getNameOfDeclaration), isIdentifierAndNotUndefined); |
| 54170 | } |
| 54171 | return ts.filter([ts.getNameOfDeclaration(statement)], isIdentifierAndNotUndefined); |
| 54172 | } |
| 54173 | function flattenExportAssignedNamespace(statements) { |
| 54174 | var exportAssignment = ts.find(statements, ts.isExportAssignment); |
| 54175 | var nsIndex = ts.findIndex(statements, ts.isModuleDeclaration); |
no test coverage detected