react-hook-form
Advanced tools
Comparing version 2.0.0-beta.1 to 2.0.0-beta.2
@@ -59,3 +59,3 @@ declare type Validate = (data: string | number) => boolean | string | number | Date; | ||
export default function useForm({ mode, validationSchema }?: Props): { | ||
register: (data: RegisterInput | HTMLInputElement | HTMLSelectElement) => (ref: any) => void; | ||
register: (data: any) => (ref: any) => void; | ||
handleSubmit: (callback: (Object: any, e: any) => void) => (e: any) => Promise<void>; | ||
@@ -62,0 +62,0 @@ errors: ErrorMessages; |
{ | ||
"name": "react-hook-form", | ||
"version": "2.0.0-beta.1", | ||
"version": "2.0.0-beta.2", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.es.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49732