Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

  • Route: string = string

Hierarchy

  • IRouterHandler

Callable

  • IRouterHandler(...handlers: RequestHandler<RouteParameters<Route>, any, any, ParsedQs, Record<string, any>>[]): T
  • IRouterHandler(...handlers: RequestHandlerParams<RouteParameters<Route>, any, any, ParsedQs, Record<string, any>>[]): T
  • IRouterHandler<P, ResBody, ReqBody, ReqQuery, Locals>(...handlers: RequestHandler<P, ResBody, ReqBody, ReqQuery, Locals>[]): T
  • IRouterHandler<P, ResBody, ReqBody, ReqQuery, Locals>(...handlers: RequestHandlerParams<P, ResBody, ReqBody, ReqQuery, Locals>[]): T
  • IRouterHandler<P, ResBody, ReqBody, ReqQuery, Locals>(...handlers: RequestHandler<P, ResBody, ReqBody, ReqQuery, Locals>[]): T
  • IRouterHandler<P, ResBody, ReqBody, ReqQuery, Locals>(...handlers: RequestHandlerParams<P, ResBody, ReqBody, ReqQuery, Locals>[]): T
  • Parameters

    Returns T

  • Parameters

    Returns T

  • Type parameters

    • P = RouteParameters<Route>

    • ResBody = any

    • ReqBody = any

    • ReqQuery = ParsedQs

    • Locals: Record<string, any> = Record<string, any>

    Parameters

    • Rest ...handlers: RequestHandler<P, ResBody, ReqBody, ReqQuery, Locals>[]

    Returns T

  • Type parameters

    • P = RouteParameters<Route>

    • ResBody = any

    • ReqBody = any

    • ReqQuery = ParsedQs

    • Locals: Record<string, any> = Record<string, any>

    Parameters

    Returns T

  • Type parameters

    Parameters

    • Rest ...handlers: RequestHandler<P, ResBody, ReqBody, ReqQuery, Locals>[]

    Returns T

  • Type parameters

    Parameters

    Returns T