UNPKG

ngrx-forms

Version:

Proper integration of forms in Angular 4 applications using ngrx

11 lines (10 loc) 437 B
import { Boxed } from '../boxing'; export interface NgrxValueConverter<TView, TState> { convertViewToStateValue(value: TView): TState; convertStateToViewValue(value: TState): TView; } export declare const NgrxValueConverters: { default<T>(): NgrxValueConverter<T, T | Boxed<T>>; dateToISOString: NgrxValueConverter<Date | null, string | null>; objectToJSON: NgrxValueConverter<{} | null, string | null>; };