Skip to content

Functions: createRejection()

ts
function createRejection<TType>(options): Rejection<TType>;

Type Parameters

Type Parameter
TType extends string

Parameters

ParameterType
options{ component?: Component; type: TType; }
options.component?Component
options.typeTType

Returns

Rejection<TType>