Interface IRouterHandler<T, Route>

interface IRouterHandler<T, Route> {
    (...handlers): T;
    (...handlers): T;
    <P, ResBody, ReqBody, ReqQuery, LocalsObj>(...handlers): T;
    <P, ResBody, ReqBody, ReqQuery, LocalsObj>(...handlers): T;
    <P, ResBody, ReqBody, ReqQuery, LocalsObj>(...handlers): T;
    <P, ResBody, ReqBody, ReqQuery, LocalsObj>(...handlers): T;
}

Type Parameters

  • T
  • Route extends string = string