Merge pull request #30461 from javieraviles/patch-1

[koa-bodyparser] textLimit property missing in types
This commit is contained in:
Benjamin Lichtman
2018-11-20 09:01:41 -08:00
committed by GitHub
+5
View File
@@ -47,6 +47,11 @@ declare namespace bodyParser {
*/
jsonLimit?: string;
/**
* limit of the text body. Default is 1mb.
*/
textLimit?: string;
/**
* when set to true, JSON parser will only accept arrays and objects. Default is true
*/