UNPKG

yarfl

Version:

Yet Another Redux Forms Library

6 lines (5 loc) 634 B
import { ActionUnknown, CompleteConfig, FormState, ValidateAction } from '../typings'; export declare const createFormReducer: <S extends object>(config: CompleteConfig<S>) => (state: FormState<any>, action: ActionUnknown) => any; export declare const formUpdateReducer: (config: CompleteConfig<any>) => (state: FormState<any>, action: ActionUnknown) => any; export declare const formShowErrorsReducer: (config: CompleteConfig<any>) => (state: FormState<any>, action: ActionUnknown) => any; export declare const formValidateReducer: (config: CompleteConfig<any>) => (state: FormState<any>, action: ValidateAction<false, any>) => any;