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