[redux-form] add submitAsSideEffect prop (#40077)

This commit is contained in:
Adam Bouqdib 2019-11-06 17:33:12 +00:00 committed by Nathan Shively-Sanders
parent 3422b2b9e7
commit 170468ec3f
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
// Type definitions for redux-form 8.1
// Type definitions for redux-form 8.2
// Project: https://github.com/erikras/redux-form, https://redux-form.com
// Definitions by: Daniel Lytkin <https://github.com/aikoven>
// Karol Janyst <https://github.com/LKay>
@ -14,6 +14,7 @@
// Ethan Setnik <https://github.com/esetnik>
// Walter Barbagallo <https://github.com/bwlt>
// Kota Marusue <https://github.com/mrsekut>
// Adam Bouqdib <https://github.com/abemedia>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
import {

View File

@ -126,6 +126,7 @@ export interface ConfigProps<FormData = {}, P = {}, ErrorType = string> {
shouldError?(params: ValidateCallback<FormData, P, ErrorType>): boolean;
shouldWarn?(params: ValidateCallback<FormData, P, ErrorType>): boolean;
shouldAsyncValidate?(params: AsyncValidateCallback<FormData, ErrorType>): boolean;
submitAsSideEffect?: boolean;
touchOnBlur?: boolean;
touchOnChange?: boolean;
persistentSubmitErrors?: boolean;