(id: string)
| 7527 | } |
| 7528 | |
| 7529 | private createsTypeAtLoad(id: string): boolean { |
| 7530 | const module = this.graph.moduleOf(id) |
| 7531 | return ( |
| 7532 | module instanceof SourceModule && |
| 7533 | this.isTransformed(id) && |
| 7534 | this.importsArk(module.source, id) && |
| 7535 | (this.analysisOf(module).sites.some( |
| 7536 | site => site.status === "accepted" && !site.deferred |
| 7537 | ) || |
| 7538 | this.callsCreatorAtLoad(module)) |
| 7539 | ) |
| 7540 | } |
| 7541 | |
| 7542 | // e.g. `make()` as it loads, where `make` is another module's, holding a site |
| 7543 | // that module can't tell runs then |
no test coverage detected