mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Merge pull request #7582 from CaselIT/body-parser
Updated Body-parser urlencoded option
This commit is contained in:
commit
80b5101e07
1 file changed
+4
-4
Vendored
+4
-4
@@ -110,7 +110,7 @@ declare module "body-parser" {
|
||||
defaultCharset?: string;
|
||||
}): express.RequestHandler;
|
||||
|
||||
export function urlencoded(options?: {
|
||||
export function urlencoded(options: {
|
||||
/**
|
||||
* if deflated bodies will be inflated. (default: true)
|
||||
*/
|
||||
@@ -128,11 +128,11 @@ declare module "body-parser" {
|
||||
*/
|
||||
verify?: (req: express.Request, res: express.Response, buf: Buffer, encoding: string) => void;
|
||||
/**
|
||||
* parse extended syntax with the qs module. (default: true)
|
||||
* parse extended syntax with the qs module.
|
||||
*/
|
||||
extended?: boolean;
|
||||
extended: boolean;
|
||||
}): express.RequestHandler;
|
||||
}
|
||||
|
||||
export = bodyParser;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user