Type Alias OutputEnumShape<V, A>

OutputEnumShape<V, A>: Expand<{
    [K in keyof A]: A[K] extends AnyShape
        ? {
            type: K;
            value: Output<A[K]>;
        }
        : A[K] extends IndexedEnumMember<V>
            ? A[K]["value"] extends AnyShape
                ? {
                    type: K;
                    value: Output<A[K]["value"]>;
                }
                : {
                    type: K;
                }
            : {
                type: K;
            }
}[keyof A]>

Type Parameters