Type Alias $Branch

$Branch: { $unknown: $Unknown }

Branch option to specifically handles the unknown type.

Use this to finely customize the behavior of your type.

Type declaration

type YourType<T, $Options $Unknown.$Options> = ...

type R = YourType<T, $Unknown.$Branch> extends $Unknown ? HandleUnknown : HandleOthers