🧰 type util
$Never.$Options enables customizing the behavior of the $never branch.
$Never.$Options
$never
The $never branch is used to handle when the input type is never.
never
type YourType< T, $Options extends YourType.$Options = YourType.$Default> = ...namespace YourType { export type $Options = $Never.$Options export type $Branch = $Never.$Branch} Copy
type YourType< T, $Options extends YourType.$Options = YourType.$Default> = ...namespace YourType { export type $Options = $Never.$Options export type $Branch = $Never.$Branch}
🧰 type util
$Never.$Options
enables customizing the behavior of the$never
branch.The
$never
branch is used to handle when the input type isnever
.