Type Alias ObjectMembers<T>

ObjectMembers<T>: [...(never extends T
    ? {
        [K in keyof T]: $.AnyShape extends T[K]
            ? $.AnyShape
            : (UnionKeys<$.Input<T[K]>> & {
                    [L in keyof T]: K extends L
                        ? never
                        : UnionKeys<(...)>
                }[number]) extends infer O extends keyof any
                ? [O] extends [never]
                    ? $.Shape<$.Input<(...)[(...)]> & {}>
                    : $.Shape<{
                        [_ in O]?: never
                    }>
                : never
    }
    : T)]

Type Parameters