@types/express
Advanced tools
Comparing version
@@ -13,3 +13,2 @@ /* =================== USAGE =================== | ||
import * as core from "express-serve-static-core"; | ||
import * as qs from "qs"; | ||
import * as serveStatic from "serve-static"; | ||
@@ -59,7 +58,2 @@ | ||
/** | ||
* This is a built-in middleware function in Express. It parses incoming request query parameters. | ||
*/ | ||
export function query(options: qs.IParseOptions | typeof qs.parse): Handler; | ||
export function Router(options?: RouterOptions): core.Router; | ||
@@ -66,0 +60,0 @@ |
{ | ||
"name": "@types/express", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "TypeScript definitions for express", | ||
@@ -40,7 +40,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express", | ||
"@types/express-serve-static-core": "^5.0.0", | ||
"@types/qs": "*", | ||
"@types/serve-static": "*" | ||
}, | ||
"typesPublisherContentHash": "906f793a5f72703639a36afa9b7c5b41256100f5efc93138ed2551c101aea99f", | ||
"typeScriptVersion": "4.8" | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "fc4e2b97399a28edf0ea8af60a18a56b71622eab908009e7e3a18677f98a80d8", | ||
"typeScriptVersion": "5.0" | ||
} |
@@ -11,6 +11,6 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 25 Sep 2024 19:19:36 GMT | ||
* Dependencies: [@types/body-parser](https://npmjs.com/package/@types/body-parser), [@types/express-serve-static-core](https://npmjs.com/package/@types/express-serve-static-core), [@types/qs](https://npmjs.com/package/@types/qs), [@types/serve-static](https://npmjs.com/package/@types/serve-static) | ||
* Last updated: Wed, 19 Mar 2025 19:32:12 GMT | ||
* Dependencies: [@types/body-parser](https://npmjs.com/package/@types/body-parser), [@types/express-serve-static-core](https://npmjs.com/package/@types/express-serve-static-core), [@types/serve-static](https://npmjs.com/package/@types/serve-static) | ||
# Credits | ||
These definitions were written by [Boris Yankov](https://github.com/borisyankov), [China Medical University Hospital](https://github.com/CMUH), [Puneet Arora](https://github.com/puneetar), and [Dylan Frankland](https://github.com/dfrankland). |
3
-25%7584
-3.5%105
-4.55%- Removed