Type alias InferUnions<Cs>

InferUnions<Cs>: { tagged: InferTaggedUnion<Cs>; untagged: InferUntaggedUnion<Cs> }

Infers two unions from a Constants type: the one containing tagged constants and the one containing untagged constants

Returns

Both unions

Type Parameters

Type declaration

Generated using TypeDoc