Type alias DataEnumToSerializerTuple<T, U>
Data
Enum
To
Serializer
Tuple
<T, U>: (T extends any ? [T["__kind"], keyof Omit<T, "__kind"> extends never ? Serializer<Omit<T, "__kind">, Omit<U, "__kind">> | Serializer<void> : Serializer<Omit<T, "__kind">, Omit<U, "__kind">>] : never)[]
Get the name and serializer of each variant in a data enum.