@types/express
Advanced tools
Comparing version 4.0.33 to 4.0.34
@@ -31,4 +31,25 @@ // Type definitions for Express 4.x | ||
export function Router(options?: any): core.Router; | ||
export function Router(options?: RouterOptions): core.Router; | ||
interface RouterOptions { | ||
/** | ||
* Enable case sensitivity. | ||
*/ | ||
caseSensitive?: boolean; | ||
/** | ||
* Preserve the req.params values from the parent router. | ||
* If the parent and the child have conflicting param names, the child’s value take precedence. | ||
* | ||
* @default false | ||
* @since 4.5.0 | ||
*/ | ||
mergeParams?: boolean; | ||
/** | ||
* Enable strict routing. | ||
*/ | ||
strict?: boolean; | ||
} | ||
interface Application extends core.Application { } | ||
@@ -35,0 +56,0 @@ interface CookieOptions extends core.CookieOptions { } |
{ | ||
"name": "@types/express", | ||
"version": "4.0.33", | ||
"version": "4.0.34", | ||
"description": "TypeScript definitions for Express 4.x", | ||
@@ -17,4 +17,5 @@ "license": "MIT", | ||
}, | ||
"peerDependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "f90dd99bbc97c7740fc818b879061f6a5c5c49275069d6380ccfa0a65ccf077a" | ||
"typesPublisherContentHash": "cb2883774f9ff8bf15e334e96c3f98fd01820ea5da7fe8c99b6a1131b8816784" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 19 Sep 2016 17:28:58 GMT | ||
* Last updated: Tue, 15 Nov 2016 14:55:32 GMT | ||
* File structure: ProperModule | ||
@@ -14,0 +14,0 @@ * Library Dependencies: express-serve-static-core, serve-static |
@@ -12,4 +12,4 @@ { | ||
], | ||
"libraryMajorVersion": "4", | ||
"libraryMinorVersion": "0", | ||
"libraryMajorVersion": 4, | ||
"libraryMinorVersion": 0, | ||
"libraryName": "Express 4.x", | ||
@@ -31,3 +31,3 @@ "typingsPackageName": "express", | ||
"hasPackageJson": false, | ||
"contentHash": "f90dd99bbc97c7740fc818b879061f6a5c5c49275069d6380ccfa0a65ccf077a" | ||
"contentHash": "cb2883774f9ff8bf15e334e96c3f98fd01820ea5da7fe8c99b6a1131b8816784" | ||
} |
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
4599
89