Unwrapped<X, PAYLOAD_KEY>: Single<X> extends {
        [key in PAYLOAD_KEY]: infer T
    }
    ? T
    : never

Type Parameters

  • X extends ((...args: any) => any)
  • PAYLOAD_KEY extends string