Add _router definition in Application. Using to get all registred routes

This commit is contained in:
Humberto Machado
2016-09-03 20:24:23 -03:00
parent 084e559166
commit 080bd81147
@@ -1046,6 +1046,11 @@ declare module "express-serve-static-core" {
* simply by removing them from this object.
*/
routes: any;
/**
* Using to all registered routes in Express Application
*/
_router: any;
}
interface Express extends Application {