diff --git a/lib/model.d.ts b/lib/model.d.ts index f472bf3..2525c4c 100644 --- a/lib/model.d.ts +++ b/lib/model.d.ts @@ -960,12 +960,12 @@ export interface ModelValidateOptions { /** * only allow values */ - max?: number | { msg: string; args: number } + max?: number | { msg: string; args: number[] } /** * only allow values >= 23 */ - min?: number | { msg: string; args: number } + min?: number | { msg: string; args: number[] } /** * only allow arrays