mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 06:17:04 +00:00
Merge pull request #10446 from Strato/patch-1
error is an array of string
This commit is contained in:
Vendored
+2
-2
@@ -39,7 +39,7 @@ declare module 'redux-form' {
|
||||
* The error for this field if its value is not passing validation. Both
|
||||
* synchronous and asynchronous validation errors will be reported here.
|
||||
*/
|
||||
error?: string;
|
||||
error?: string[];
|
||||
|
||||
/**
|
||||
* The value for this field as supplied in initialValues to the form.
|
||||
@@ -163,7 +163,7 @@ declare module 'redux-form' {
|
||||
* result from the synchronous validation function, the asynchronous
|
||||
* validation, or the rejected promise from onSubmit.
|
||||
*/
|
||||
error?: string;
|
||||
error?: string[];
|
||||
|
||||
/**
|
||||
* The form data, in the form { field1: <Object>, field2: <Object> }. The
|
||||
|
||||
Reference in New Issue
Block a user