Skip to content

Types: AddComponentBeforeRouteHook()<TRoutes, TRejections>

ts
type AddComponentBeforeRouteHook<TRoutes, TRejections> = (hook) => RouteHookRemove;

Type Parameters

Type Parameter
TRoutes extends Routes
TRejections extends PropertyKey

Parameters

ParameterType
hookBeforeRouteHookRegistration<TRoutes, TRejections>

Returns

RouteHookRemove