@proto-kit/common β’ Docs
Documentation / @proto-kit/common / RecursivePartial
Type Alias: RecursivePartial<T>
RecursivePartial<
T>:{ [Key in keyof T]?: Partial<T[Key]> }
This type make any config partial (i.e. optional) up to the first level So { Module: { a: { b: string } } } will become { Module?: { a?: { b: string } } } Note that b does not become optional, as we donβt want nested objects to become unreasonably partialized (for example Field).
Type Parameters
β’ T