mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Add _router definition in Application. Using to get all registred routes
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user