Skip to content

Commit

Permalink
fix: fix the typo for the array length validation (#1287)
Browse files Browse the repository at this point in the history
  • Loading branch information
dineshsalunke committed Mar 1, 2021
1 parent bbd44d0 commit 4c17508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/locale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export let object: Required<ObjectLocale> = {
export let array: Required<ArrayLocale> = {
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), {
Expand Down

0 comments on commit 4c17508

Please sign in to comment.