Type alias DeepPartial<T>

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

make all properties optional recursively.

Type Parameters

  • T

Source