From 4c175086ce8e53df529bbdff6f215929a5a39167 Mon Sep 17 00:00:00 2001 From: dineshsalunke <52815633+dineshsalunke@users.noreply.github.com> Date: Mon, 1 Mar 2021 19:57:37 +0530 Subject: [PATCH] fix: fix the typo for the array length validation (#1287) --- src/locale.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locale.ts b/src/locale.ts index 16d232cbd..d5efe7987 100644 --- a/src/locale.ts +++ b/src/locale.ts @@ -114,7 +114,7 @@ export let object: Required = { export let array: Required = { min: '${path} field must have at least ${min} items', max: '${path} field must have less than or equal to ${max} items', - length: '${path} must be have ${length} items', + length: '${path} must have ${length} items', }; export default Object.assign(Object.create(null), {