Skip to content

Types: RejectionHooks<TRejections>

ts
type RejectionHooks<TRejections> = object;

Type Parameters

Type ParameterDefault type
TRejections extends stringstring

Properties

PropertyTypeDescription
onRejectionAddRejectionHook<TRejections>Registers a route hook to be called when a rejection occurs.