ngrx-forms
Version:
Proper integration of forms in Angular 4 applications using ngrx
5 lines (4 loc) • 455 B
TypeScript
import { Actions } from '../../actions';
import { FormGroupControls, FormGroupState, KeyValue } from '../../state';
export declare function dispatchActionPerChild<TValue extends KeyValue>(controls: FormGroupControls<TValue>, actionCreator: (controlId: string) => Actions<TValue>): FormGroupControls<TValue>;
export declare function childReducer<TValue extends KeyValue>(state: FormGroupState<TValue>, action: Actions<TValue>): FormGroupState<TValue>;