type-plus
    Preparing search index...

    Type Alias $Branch

    Branch option to specifically handles the never type.

    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
    type $Branch = {
        $never: $Never;
    }
    Index

    Properties

    Properties

    $never: $Never