(name: string)
| 42 | * from esm.sh that we need to remove for clean display. |
| 43 | */ |
| 44 | export function cleanSymbolName(name: string): string { |
| 45 | if (name.startsWith('default.')) { |
| 46 | return name.slice(8) |
| 47 | } |
| 48 | if (name.startsWith('default_')) { |
| 49 | return name.slice(8) |
| 50 | } |
| 51 | return name |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * Create a URL-safe HTML anchor ID for a symbol. |
no outgoing calls
no test coverage detected