(path: string)
| 34 | |
| 35 | /** Whether a value parses as a same-origin landing path. */ |
| 36 | export const isSafeReturnTo = (path: string): boolean => safeReturnTo(path) !== null; |
| 37 | |
| 38 | /** The /login URL that comes back to `returnTo` ("/" needs no parameter). */ |
| 39 | export const loginPath = (returnTo: string): string => |
no test coverage detected