From 31ca1ab37917f1de40cf7baff0e4948e33d05ada Mon Sep 17 00:00:00 2001 From: James Date: Tue, 25 Oct 2022 12:23:45 -0400 Subject: [PATCH] chore: ensures defaultMaxTextLength is optional --- src/config/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/types.ts b/src/config/types.ts index 31e0337a7a..528870c4b5 100644 --- a/src/config/types.ts +++ b/src/config/types.ts @@ -187,7 +187,7 @@ export type Config = { }, defaultDepth?: number; maxDepth?: number; - defaultMaxTextLength: number; + defaultMaxTextLength?: number; indexSortableFields?: boolean; rateLimit?: { window?: number;