Comparing version 2.0.1-rc.5 to 2.0.1-rc.6
@@ -12,3 +12,3 @@ import * as React from 'react'; | ||
handleSubmit: (e?: React.FormEvent<HTMLFormElement> | undefined) => void; | ||
resetForm: (nextState?: FormikState<Values> | undefined) => void; | ||
resetForm: (nextState?: Partial<FormikState<Values>> | undefined) => void; | ||
setErrors: (errors: FormikErrors<Values>) => void; | ||
@@ -15,0 +15,0 @@ setFormikState: (stateOrCb: FormikState<Values> | ((state: FormikState<Values>) => FormikState<Values>)) => void; |
@@ -39,3 +39,3 @@ import * as React from 'react'; | ||
validateField(field: string): void; | ||
resetForm(nextState?: FormikState<Values>): void; | ||
resetForm(nextState?: Partial<FormikState<Values>>): void; | ||
setFormikState(f: FormikState<Values> | ((prevState: FormikState<Values>) => FormikState<Values>), cb?: () => void): void; | ||
@@ -42,0 +42,0 @@ } |
{ | ||
"name": "formik", | ||
"description": "Forms in React, without tears", | ||
"version": "2.0.1-rc.5", | ||
"version": "2.0.1-rc.6", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "Jared Palmer <jared@palmer.net>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
634208