The options of the Router are optional

This commit is contained in:
George Valotasios
2013-12-10 11:11:13 +01:00
parent cb2beb72e4
commit 183a9c40ac
+1 -1
View File
@@ -63,7 +63,7 @@ declare module "express" {
}
export class Router {
new (options: any): Router;
new (options?: any): Router;
middleware (): any;