Types: AddComponentBeforeRouteHook()<TRoutes, TRejections>
ts
type AddComponentBeforeRouteHook<TRoutes, TRejections> = (hook) => RouteHookRemove;Type Parameters
| Type Parameter |
|---|
TRoutes extends Routes |
TRejections extends PropertyKey |
Parameters
| Parameter | Type |
|---|---|
hook | BeforeRouteHookRegistration<TRoutes, TRejections> |