(pathname: string)
| 182 | } |
| 183 | |
| 184 | export function fromPathname(pathname: string) { |
| 185 | return parseLocale(fix(pathname).split("/")[1]) |
| 186 | } |
| 187 | |
| 188 | export function fromDocsPathname(pathname: string) { |
| 189 | const next = fix(pathname) |
no test coverage detected