Type Alias DeepPartial<T>

DeepPartial<T>: T extends object
    ? {
        [P in keyof T]?: DeepPartial<T[P]>
    }
    : T

A partial type that also applies to child properties. See: https://stackoverflow.com/questions/61132262/typescript-deep-partial

Type Parameters

  • T