Convert a union type to an intersection type.
Copied from the UnionToIntersection type in the type-fest package so that this package's public types do not depend on type-fest (see the note in type-checks.ts).
UnionToIntersection
type-fest
type-checks.ts
@augment-vir/common
Convert a union type to an intersection type.
Copied from the
UnionToIntersectiontype in thetype-festpackage so that this package's public types do not depend ontype-fest(see the note intype-checks.ts).