Type alias InferUnion<MCs>

InferUnion<MCs>: MCs[keyof MCs]

Infers the union from both tagged and untagged constants

Returns

The union of the input record type

Type Parameters

Generated using TypeDoc