Skip to content

Types: AddErrorHook()<TRoute, TRoutes, TRejections>

ts
type AddErrorHook<TRoute, TRoutes, TRejections> = (hook) => HookRemove;

Type Parameters

Type ParameterDefault type
TRoute extends RouteRoute
TRoutes extends RoutesRoutes
TRejections extends RejectionsRejections

Parameters

ParameterType
hookErrorHook<TRoute, TRoutes, TRejections>

Returns

HookRemove