From 3c547b3a2a064cf9991d28b8511df9e5a51dff85 Mon Sep 17 00:00:00 2001 From: Javier Aviles Date: Mon, 12 Nov 2018 14:26:43 +0100 Subject: [PATCH] textLimit property missing in types The property 'textLimit' similar to jsonLimit is missing in the types :) --- types/koa-bodyparser/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/koa-bodyparser/index.d.ts b/types/koa-bodyparser/index.d.ts index deb1eb04e9..425d0883f8 100644 --- a/types/koa-bodyparser/index.d.ts +++ b/types/koa-bodyparser/index.d.ts @@ -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