textLimit property missing in types

The property 'textLimit' similar to jsonLimit is missing in the types :)
This commit is contained in:
Javier Aviles
2018-11-12 14:26:43 +01:00
committed by GitHub
parent 7e0a27458d
commit 3c547b3a2a
+5
View File
@@ -46,6 +46,11 @@ declare namespace bodyParser {
* limit of the json body. Default is 1mb
*/
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