mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #15386 from vilic/patch-7
Add `string[]` to the `type` field of json options for body-parser
This commit is contained in:
Vendored
+1
-1
@@ -16,7 +16,7 @@ declare namespace bodyParser {
|
||||
interface Options {
|
||||
inflate?: boolean;
|
||||
limit?: number | string;
|
||||
type?: string | ((req: Request) => any);
|
||||
type?: string | string[] | ((req: Request) => any);
|
||||
verify?: (req: Request, res: Response, buf: Buffer, encoding: string) => void;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user