Create a type that requires exactly one of the given keys or none of the given keys, while
keeping the remaining keys as is.
Copied from the RequireOneOrNone type in type-fest v5.6 so that this package's public types
do not depend on type-fest (see the note in type-checks.ts).
Create a type that requires exactly one of the given keys or none of the given keys, while keeping the remaining keys as is.
Copied from the
RequireOneOrNonetype intype-festv5.6 so that this package's public types do not depend ontype-fest(see the note intype-checks.ts).