Branch option to specifically handles the never type.
never
Use this to finely customize the behavior of your type.
type YourType<T, $Options $Never.$Options> = ...type R = YourType<T, $Never.$Branch> extends $Never ? HandleNever : HandleOthers Copy
type YourType<T, $Options $Never.$Options> = ...type R = YourType<T, $Never.$Branch> extends $Never ? HandleNever : HandleOthers
Branch option to specifically handles the
never
type.Use this to finely customize the behavior of your type.