* 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>)
| 4219 | * O(1) per comparison. |
| 4220 | */ |
| 4221 | ambientDeclarationPredicateFor(filePaths: Iterable<string>): (filePath: string) => boolean { |
| 4222 | const flagged = this.getAmbientDeclarationPathsAmong(filePaths); |
| 4223 | return (filePath: string) => flagged.has(filePath); |
| 4224 | } |
| 4225 | |
| 4226 | /** How many indexed files carry the generated flag. Surfaced by `status`. */ |
| 4227 | countGeneratedFiles(): number { |
no test coverage detected