(id: string | undefined)
| 80 | |
| 81 | const TRAILING_SLASH_HASH = /#\/?$/ |
| 82 | export function normalizeId(id: string | undefined): string { |
| 83 | return id ? id.replace(TRAILING_SLASH_HASH, "") : "" |
| 84 | } |
| 85 | |
| 86 | export function resolveUrl(resolver: UriResolver, baseId: string, id: string): string { |
| 87 | id = normalizeId(id) |
no outgoing calls
no test coverage detected
searching dependent graphs…