RecursivePartial<T>: {
    [P in keyof T]?: T[P] extends (infer U)[]
        ? RecursivePartial<U>[]
        : T[P] extends object | undefined
            ? RecursivePartial<T[P]>
            : T[P]
}

Type Parameters

  • T