mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-13 12:22:02 +08:00
The options of the Router are optional
This commit is contained in:
1 parent
cb2beb72e4
commit
183a9c40ac
1 file changed
+1
-1
Vendored
+1
-1
@@ -63,7 +63,7 @@ declare module "express" {
|
||||
}
|
||||
|
||||
export class Router {
|
||||
new (options: any): Router;
|
||||
new (options?: any): Router;
|
||||
|
||||
middleware (): any;
|
||||
|
||||
|
||||
Reference in new issue
Block a user