Type alias OmitFirstArg<F>

OmitFirstArg<F>: F extends ((x, ...args) => infer R)
    ? ((...args) => Promise<R>)
    : never

Type utility that omits the first argument from a function type signature.

Type Parameters

  • F

Generated using TypeDoc