UNPKG

ngrx-forms

Version:

Proper integration of forms in Angular 4 applications using ngrx

12 lines (11 loc) 595 B
import { AbstractControlState, FormState } from '../state'; /** * This update function takes a name and returns a projection function that * marks the async validation for the given name as pending. */ export declare function startAsyncValidation(name: string): <TValue>(state: AbstractControlState<TValue>) => FormState<TValue>; /** * This update function takes a form state and a name and marks the async * validation for the given name as pending. */ export declare function startAsyncValidation<TValue>(state: AbstractControlState<TValue>, name: string): FormState<TValue>;