Types: RegisteredRejectionType<T>
ts
type RegisteredRejectionType<T> = T extends object ? keyof TOptions["rejections"] | BuiltInRejectionType : BuiltInRejectionType;Represents the possible Rejections registered within Register
Type Parameters
| Type Parameter | Default type |
|---|---|
T | Register |
Deprecated
use `createRouter(..., { rejections: {}}) instead