Type alias UnassignableTypeError<ErrType>

UnassignableTypeError<ErrType>: `type is not assignable to type ${ErrType}`

Used to display an error message instead of never, for better readability

Type Parameters

  • ErrType extends string

Export

type {UnassignableTypeError}