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
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;
The text was updated successfully, but these errors were encountered:
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;
The text was updated successfully, but these errors were encountered: