Interface Options

Options to specifically handles the never type.

type YourType<T, $Options extends $Never.$Options> = ...
interface Options {
    $never?: unknown;
    caseEmptyTuple?: unknown;
}

Hierarchy (View Summary)

Properties

$never?: unknown
caseEmptyTuple?: unknown