Type Alias GetParametersFromProp<Self, Prop>Internal

GetParametersFromProp<Self, Prop>: Self[Prop] extends ((...args: infer Args) => unknown)
    ? Args
    : unknown[]

Utility for extracting the arguments type from a property

Type Parameters

  • Self
  • Prop extends keyof Self