Type alias PartialBy<TType, TKeys>

PartialBy<TType, TKeys>: Partial<Pick<TType, TKeys>> & Omit<TType, TKeys>

Makes TKeys optional in TType while preserving type inference.

Type Parameters

  • TType

  • TKeys extends keyof TType

Generated using TypeDoc