(name: string, module: string)
| 336 | const statements: ts.Statement[] = []; |
| 337 | |
| 338 | function importer(name: string, module: string) { |
| 339 | statements.push( |
| 340 | ts.factory.createImportDeclaration( |
| 341 | undefined, |
| 342 | ts.factory.createImportClause( |
| 343 | false, |
| 344 | undefined, |
| 345 | ts.factory.createNamedImports([ |
| 346 | ts.factory.createImportSpecifier(false, undefined, ts.factory.createIdentifier(name)) |
| 347 | ]) |
| 348 | ), |
| 349 | ts.factory.createStringLiteral(module) |
| 350 | ) |
| 351 | ); |
| 352 | } |
| 353 | |
| 354 | const clz = ts.addSyntheticLeadingComment(ts.factory.createClassDeclaration( |
| 355 | [ts.factory.createModifier(ts.SyntaxKind.ExportKeyword)], |
no test coverage detected