Create a union type by combining primitive types and literal types without sacrificing
auto-completion in IDEs for the literal type part of the union.
Copied from the LiteralUnion 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).
Create a union type by combining primitive types and literal types without sacrificing auto-completion in IDEs for the literal type part of the union.
Copied from the
LiteralUniontype in thetype-festpackage so that this package's public types do not depend ontype-fest(see the note intype-checks.ts).