🧰 type util
Branch option for specifically handling the type unknown.
unknown
Use this to finely customize the behavior of your type.
type YourType< T, $Options extends YourType.$Options = YourType.$Default> = ...namespace YourType { export type $Options = $Unknown.$Options export type $Branch = $Unknown.$Branch}type R = YourType<T, YourType.$Branch> extends $Unknown ? HandleUnknown : HandleOthers Copy
type YourType< T, $Options extends YourType.$Options = YourType.$Default> = ...namespace YourType { export type $Options = $Unknown.$Options export type $Branch = $Unknown.$Branch}type R = YourType<T, YourType.$Branch> extends $Unknown ? HandleUnknown : HandleOthers
🧰 type util
Branch option for specifically handling the type
unknown
.Use this to finely customize the behavior of your type.