From 4ab9aee03efa13abafa8d4c6667f4a5004d34be9 Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Fri, 7 Jun 2024 09:47:31 +0800 Subject: [PATCH] f --- index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.d.ts b/index.d.ts index 46d4fdb095..c413d8ae1a 100644 --- a/index.d.ts +++ b/index.d.ts @@ -328,9 +328,9 @@ declare module 'egg' { * @property {Number} queryString.arrayLimit - from item array length limit, default 100 * @property {Number} queryString.depth - json value deep length, default 5 * @property {Number} queryString.parameterLimit - parameter number limit, default 1000 - * @property {string[]} enableTypes - parser will only parse when request type hits enableTypes, default is ['json', 'form'] - * @property {any} extendTypes - support extend types - * @property {string} onProtoPoisoning - Defines what action must take when parsing a JSON object with `__proto__`. Possible values are `'error'`, `'remove'` and `'ignore'`. Default is `'error'`, it will return `403` response when `Prototype-Poisoning` happen. + * @property {String[]} enableTypes - parser will only parse when request type hits enableTypes, default is ['json', 'form'] + * @property {Object} extendTypes - support extend types + * @property {String} onProtoPoisoning - Defines what action must take when parsing a JSON object with `__proto__`. Possible values are `'error'`, `'remove'` and `'ignore'`. Default is `'error'`, it will return `403` response when `Prototype-Poisoning` happen. */ bodyParser: { enable: boolean;