Skip to content

Types: RouteRedirects<TRoute>

ts
type RouteRedirects<TRoute> = object;

Type Parameters

Type ParameterDefault type
TRoute extends RouteRoute

Properties

PropertyTypeDescription
redirectFromRouteRedirectFrom<TRoute>Creates a redirect to redirect to the current route from another route.
redirectToRouteRedirectTo<TRoute>Creates a redirect to redirect the current route to another route.