Umi — API References - v1.3.0
    Preparing search index...

    Type Alias DataEnumToSerializerTuple<T, U>

    DataEnumToSerializerTuple: (
        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.

    Type Parameters