Interface DefaultOptions<Criteria>

🧰 type util

Default option for the $never branch.

Unsurprisingly, defaulting $never to never.

interface DefaultOptions<Criteria> {
    $array: "does not support array. Please use `FindFirst` or `ArrayPlus.Find` instead.";
    $emptyTuple: never;
    $never: never;
    $notMatch: never;
    $tuple: "does not support tuple. Please use `FindFirst` or `TuplePlus.Find` instead.";
    $unionNotMatch: never;
    $widen: undefined | Criteria;
    widen: true;
}

Type Parameters

  • Criteria

Hierarchy (view full)

Properties

$array
$emptyTuple: never
$never: never
$notMatch: never
$tuple
$unionNotMatch: never
$widen: undefined | Criteria
widen