Interface IRouterMatcher<T, Method>
interface IRouterMatcher<T, Method> { <Route, P, ResBody, ReqBody, ReqQuery, LocalsObj>(path,
...handlers): T; <Path, P, ResBody, ReqBody, ReqQuery, LocalsObj>(path,
...handlers): T; <P, ResBody, ReqBody, ReqQuery, LocalsObj>(path,
...handlers): T; <P, ResBody, ReqBody, ReqQuery, LocalsObj>(path,
...handlers): T; (path,
subApplication): T; } Type Parameters
- T
- Method extends "all" | "get" | "post" | "put" | "delete" | "patch" | "options" | "head" = any
- IRouterMatcher<Route, P, ResBody, ReqBody, ReqQuery, LocalsObj>(path, ...handlers): T
Returns T
- IRouterMatcher<Path, P, ResBody, ReqBody, ReqQuery, LocalsObj>(path, ...handlers): T
Returns T
- IRouterMatcher<P, ResBody, ReqBody, ReqQuery, LocalsObj>(path, ...handlers): T
Returns T
- IRouterMatcher<P, ResBody, ReqBody, ReqQuery, LocalsObj>(path, ...handlers): T
Returns T
- IRouterMatcher(path, subApplication): T
Returns T