(filePath: string)
| 5160 | // ranks at full weight. |
| 5161 | const isAmbientDeclaration = cg.ambientDeclarationFilePredicate(penaltyCandidates); |
| 5162 | const isDampedDeclaration = (filePath: string): boolean => |
| 5163 | isAmbientDeclaration(filePath) && !namedTypeFiles.has(filePath); |
| 5164 | |
| 5165 | /** |
| 5166 | * Rank penalty for a file, applied to its relevance score AND (below) to its |