You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 24, 2025. It is now read-only.
This Typescript definition in index.d.ts: type Redirect = {path: string} | {name: string} | string;
should also allow passing params to named routes. Something like this should work: type Redirect = {path: string} | {name: string, params?: { [key: string]: any } } | string;
For example if you want to pass something on logout
This Typescript definition in index.d.ts:
type Redirect = {path: string} | {name: string} | string;should also allow passing params to named routes. Something like this should work:
type Redirect = {path: string} | {name: string, params?: { [key: string]: any } } | string;