* A reusable `(path) => boolean` ambient-declaration test over a bounded * candidate list — the shape a ranking comparator wants: one query up front, * O(1) per comparison.
(filePaths: Iterable<string>)
| 4330 | * O(1) per comparison. |
| 4331 | */ |
| 4332 | ambientDeclarationPredicateFor(filePaths: Iterable<string>): (filePath: string) => boolean { |
| 4333 | const flagged = this.getAmbientDeclarationPathsAmong(filePaths); |
| 4334 | return (filePath: string) => flagged.has(filePath); |
| 4335 | } |
| 4336 | |
| 4337 | /** How many indexed files carry the generated flag. Surfaced by `status`. */ |
| 4338 | countGeneratedFiles(): number { |
no test coverage detected