mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-20 00:59:29 +08:00
export IRouterHandler too (#13840)
Export IRouterHandler like IRouterMatcher. I' like to use and extend it in global middlewares.
This commit is contained in:
committed by
Mohamed Hegazy
parent
fe9278d497
commit
fefb1124c3
1
express/index.d.ts
vendored
1
express/index.d.ts
vendored
@@ -59,6 +59,7 @@ declare namespace e {
|
||||
interface Handler extends core.Handler { }
|
||||
interface IRoute extends core.IRoute { }
|
||||
interface IRouter<T> extends core.IRouter { }
|
||||
interface IRouterHandler<T> extends core.IRouterHandler<T> { }
|
||||
interface IRouterMatcher<T> extends core.IRouterMatcher<T> { }
|
||||
interface MediaType extends core.MediaType { }
|
||||
interface NextFunction extends core.NextFunction { }
|
||||
|
||||
Reference in New Issue
Block a user