diff --git a/src/formik.tsx b/src/formik.tsx index af26bedb8..6bf0f2e2c 100644 --- a/src/formik.tsx +++ b/src/formik.tsx @@ -23,7 +23,7 @@ export interface FormikValues { * An object containing error messages whose keys correspond to FormikValues. * Should be always be and object of strings, but any is allowed to support i18n libraries. */ -export type FormikErrors = { [field in keyof Values]: any }; +export type FormikErrors = { [field in keyof Values]?: any }; /** * An object containing touched state of the form whose keys correspond to FormikValues.