arrow-express
Advanced tools
Comparing version 2.1.7 to 2.1.8
@@ -28,3 +28,3 @@ import { RouteConfigurator } from "../route/route"; | ||
*/ | ||
registerRoutes(...routes: RouteConfigurator<C, any>[]): this; | ||
registerRoutes(...routes: RouteConfigurator<GetFinalControllerContext<C, R>, any>[]): this; | ||
/** | ||
@@ -31,0 +31,0 @@ * Register controller prefix which will be used by all routes |
@@ -46,3 +46,3 @@ import { RouteConfigurator } from "../route/route"; | ||
*/ | ||
registerRoutes(...routes: RouteConfigurator<C, any>[]): this { | ||
registerRoutes(...routes: RouteConfigurator<GetFinalControllerContext<C, R>, any>[]): this { | ||
routes.forEach(this.registerRoute.bind(this)); | ||
@@ -49,0 +49,0 @@ return this; |
{ | ||
"name": "arrow-express", | ||
"version": "2.1.7", | ||
"version": "2.1.8", | ||
"description": "Library to bootstrap express applications with zero configuration", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
800072