(cg: CodeGraph)
| 355 | } |
| 356 | |
| 357 | private releaseExplicitProject(cg: CodeGraph): void | Promise<void> { |
| 358 | const lease = this.explicitProjects.get(cg); |
| 359 | this.explicitProjects.delete(cg); |
| 360 | if (lease) return lease.release(); |
| 361 | else cg.close(); |
| 362 | } |
| 363 | |
| 364 | /** Watch options shared by the default project and explicit projects. */ |
| 365 | private watchOptions(): Parameters<CodeGraph['watch']>[0] { |
no test coverage detected