(module: SourceModule)
| 773 | } |
| 774 | |
| 775 | keepExports(module: SourceModule): void { |
| 776 | for (const name in module.scopes.exportsByName) |
| 777 | this.keepExport(module, name) |
| 778 | for (const specifier of module.scopes.starExports) { |
| 779 | const target = this.targetOf(specifier, module) |
| 780 | if (target) this.keepExports(target) |
| 781 | } |
| 782 | } |
| 783 | |
| 784 | keep(module: SourceModule, statement: Node): void { |
| 785 | if (this.statements.has(statement)) return |
no test coverage detected