(statement: Node)
| 7436 | |
| 7437 | // only a type-only import or export skips running its module |
| 7438 | export const isTypeOnly = (statement: Node): boolean => |
| 7439 | statement.type === "ImportDeclaration" ? statement.importKind === "type" |
| 7440 | : ( |
| 7441 | statement.type === "ExportNamedDeclaration" || |
| 7442 | statement.type === "ExportAllDeclaration" |
| 7443 | ) ? |
| 7444 | statement.exportKind === "type" |
| 7445 | : false |
| 7446 | |
| 7447 | const constructsByModule = new WeakMap<SourceModule, boolean>() |
| 7448 |
no outgoing calls
no test coverage detected