diff --git a/src/useValidate.ts b/src/useValidate.ts index 882474d..6d80c2f 100644 --- a/src/useValidate.ts +++ b/src/useValidate.ts @@ -40,7 +40,7 @@ function convert(result: ValidationResult): any { */ export function useValidate( form: Form, - validator: Validator, + validator: Validator, opts?: UseValidationOptions ): Form { return useValidation(