Type alias OptionalFirstIfHasPathParams<PathParams, P>

OptionalFirstIfHasPathParams<PathParams, P>: [PathParams] extends [never]
    ? Partial<P>
    : P

Type Parameters

  • PathParams

  • P

Generated using TypeDoc