yarfl
Version:
Yet Another Redux Forms Library
10 lines (9 loc) • 939 B
TypeScript
import { ActionUnknown, ActionWithKey, ActionWithKeyAndIndex, ActionWithKeyAndValue, ActionWithValue, Config, FieldState, FormProviderProps } from '../typings';
export declare const checkConfigs: (configs: Config<any>[]) => void;
export declare const checkActionForKey: (action: ActionUnknown) => ActionWithKey;
export declare const checkActionForInputValue: (action: ActionUnknown) => ActionWithKeyAndValue<import("src/typings").InputValue>;
export declare const checkActionForObjectValue: (action: ActionUnknown) => ActionWithValue<object>;
export declare const checkActionForKeyAndIndex: (action: ActionUnknown) => ActionWithKeyAndIndex;
export declare const checkForRenderProp: <S extends object, P extends FormProviderProps<S>>(props: P) => P;
export declare const checkFieldType: (field: FieldState) => FieldState;
export declare const checkPath: (path: string[], target: object | any[], strFormat?: string | undefined) => string[];