Skip to content

Types: AddErrorHook<TRoutes, TRejections> ​

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

Type Parameters ​

Type ParameterDefault type
TRoutes extends RoutesRoutes
TRejections extends RejectionsRejections

Parameters ​

ParameterType
hookErrorHook<TRoutes, TRejections>

Returns ​

HookRemove