Type Alias PartialRecursive<T>

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

Type Parameters

  • T