(filePath: string)
| 5104 | // ranks at full weight. |
| 5105 | const isAmbientDeclaration = cg.ambientDeclarationFilePredicate(penaltyCandidates); |
| 5106 | const isDampedDeclaration = (filePath: string): boolean => |
| 5107 | isAmbientDeclaration(filePath) && !namedTypeFiles.has(filePath); |
| 5108 | |
| 5109 | /** |
| 5110 | * Rank penalty for a file, applied to its relevance score AND (below) to its |