Type Alias InputEnumShape<V, A>

InputEnumShape<V, A>: $.Expand<{
    [K in keyof A]: A[K] extends $.AnyShape
        ? {
            type: K;
            value: $.Input<A[K]>;
        }
        : A[K] extends $.IndexedEnumMember<V>
            ? A[K]["value"] extends $.AnyShape
                ? {
                    type: K;
                    value: $.Input<A[K]["value"]>;
                }
                : {
                    type: K;
                }
            : {
                type: K;
            }
}[keyof A]>

Type Parameters