diff --git a/body-parser/body-parser.d.ts b/body-parser/body-parser.d.ts index bf318d946..b7b4e7599 100644 --- a/body-parser/body-parser.d.ts +++ b/body-parser/body-parser.d.ts @@ -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; -} \ No newline at end of file +}