• An action argument which is an entry from the given enum. Performs validation.

    Type Parameters

    • ENUM extends number

    • K extends string

    Parameters

    • object: Record<K, ENUM>

    Returns default<ENUM, K>

Generated using TypeDoc