(url: string, text: string, index: SiteFixesIndex)
| 54 | } |
| 55 | |
| 56 | export function getDetectorHintsFor(url: string, text: string, index: SiteFixesIndex): DetectorHint[] | null { |
| 57 | const fixes = getSitesFixesFor(url, text, index, parseDetectorHints); |
| 58 | |
| 59 | if (fixes.length === 0) { |
| 60 | return null; |
| 61 | } |
| 62 | |
| 63 | return fixes; |
| 64 | } |
no test coverage detected