(name: string, entry: ExportEntry | undefined)
| 103 | private readCommonJs(program: Program): void { |
| 104 | const unread = new Set<string>() |
| 105 | const set = (name: string, entry: ExportEntry | undefined) => { |
| 106 | if (!entry || name in this.exportsByName) unread.add(name) |
| 107 | this.exportsByName[name] = entry! |
| 108 | } |
| 109 | for (const statement of program.body) { |
| 110 | if (statement.type !== "ExpressionStatement") continue |
| 111 | const { expression } = statement |
no test coverage detected