* 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>)
| 2130 | * O(1) per comparison. |
| 2131 | */ |
| 2132 | ambientDeclarationPredicateFor(filePaths: Iterable<string>): (filePath: string) => boolean { |
| 2133 | const flagged = this.getAmbientDeclarationPathsAmong(filePaths); |
| 2134 | return (filePath: string) => flagged.has(filePath); |
| 2135 | } |
| 2136 | |
| 2137 | /** How many indexed files carry the generated flag. Surfaced by `status`. */ |
| 2138 | countGeneratedFiles(): number { |
no test coverage detected