(linkText: string)
| 344 | } |
| 345 | |
| 346 | function normalizeApiLinkText(linkText: string) { |
| 347 | return linkText |
| 348 | .replace(/\\([_$[\]])/g, '$1') |
| 349 | .replace(/<[^>]+>/g, '') |
| 350 | .replace(/`/g, '') |
| 351 | .trim(); |
| 352 | } |
| 353 | |
| 354 | function getCanonical(hierarchy: string[]) { |
| 355 | return hierarchy.map((h) => getSafeFilenameForName(h)).join('-'); |
no outgoing calls
no test coverage detected
searching dependent graphs…