From 2554570b9211844703361c90755c81fefe12eb86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Guillot?= Date: Wed, 3 Aug 2016 16:08:05 +0200 Subject: [PATCH] error is an array of string --- redux-form/redux-form.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redux-form/redux-form.d.ts b/redux-form/redux-form.d.ts index edcf9c2c71..e0fd8ead8d 100644 --- a/redux-form/redux-form.d.ts +++ b/redux-form/redux-form.d.ts @@ -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: , field2: }. The