(cg: CodeGraph)
| 327 | } |
| 328 | |
| 329 | private releaseExplicitProject(cg: CodeGraph): void | Promise<void> { |
| 330 | const lease = this.explicitProjects.get(cg); |
| 331 | this.explicitProjects.delete(cg); |
| 332 | if (lease) return lease.release(); |
| 333 | else cg.close(); |
| 334 | } |
| 335 | |
| 336 | /** Watch options shared by the default project and explicit projects. */ |
| 337 | private watchOptions(): Parameters<CodeGraph['watch']>[0] { |
no test coverage detected