(s: string)
| 164 | } |
| 165 | |
| 166 | function decode(s: string): string { |
| 167 | try { |
| 168 | return decodeURIComponent(s); |
| 169 | } catch { |
| 170 | return s; |
| 171 | } |
| 172 | } |
| 173 | |
| 174 | /** A route a destination names, with the arm that named it — so each edge says the path it took. */ |
| 175 | export interface HrefDestination { |