Type alias ProviderHandler<Args, ResponseBody, Handler>

ProviderHandler<Args, ResponseBody, Handler>: ((args: Args, req: express.Request, _res: express.Response<ResponseBody | ProviderError>, _next: express.NextFunction, handler: Handler) => void)

Type Parameters

  • Args = any

  • ResponseBody = any

  • Handler extends ((...args: any) => any) = any

Type declaration

    • (args: Args, req: express.Request, _res: express.Response<ResponseBody | ProviderError>, _next: express.NextFunction, handler: Handler): void
    • Parameters

      • args: Args
      • req: express.Request
      • _res: express.Response<ResponseBody | ProviderError>
      • _next: express.NextFunction
      • handler: Handler

      Returns void

Generated using TypeDoc