(path: string)
| 130 | const checker = program.getTypeChecker() |
| 131 | |
| 132 | const exportedNamesOf = (path: string) => |
| 133 | new Set( |
| 134 | checker |
| 135 | .getExportsOfModule( |
| 136 | checker.getSymbolAtLocation( |
| 137 | program.getSourceFile(path.replace(/js$/, "d.ts"))! |
| 138 | )! |
| 139 | ) |
| 140 | .map(symbol => symbol.name) |
| 141 | ) |
| 142 | |
| 143 | for (const pkg of packages) { |
| 144 | const { name } = JSON.parse( |
no test coverage detected