@immjs/express-subdomain
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -9,2 +9,2 @@ import express from "express"; | ||
} | ||
export default function (subdomain: any, fn: any): (req: express.Request, res: express.Response, next: express.NextFunction) => any; | ||
export default function (subdomain: string, fn: express.Router): (req: express.Request, res: express.Response, next: express.NextFunction) => void; |
@@ -11,3 +11,3 @@ import express from "express"; | ||
export default function(subdomain: any, fn: any) { | ||
export default function(subdomain: string, fn: express.Router) { | ||
if (!subdomain || typeof subdomain !== "string") { | ||
@@ -14,0 +14,0 @@ throw new Error("The first parameter must be a string representing the subdomain"); |
{ | ||
"name": "@immjs/express-subdomain", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
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
20211