UNPKG

rx-form-mapper

Version:

Proper decorator-based transformation / serialization / deserialization of plain javascript classes to angular reactive forms

9 lines (8 loc) 321 B
import 'reflect-metadata'; import { RxValidator, RxAsyncValidator, UpdateOn } from '..'; export interface FormOpts { validators?: RxValidator | RxValidator[]; asyncValidators?: RxAsyncValidator | RxAsyncValidator[]; updateOn?: UpdateOn; } export declare function Form(opts?: FormOpts): (target: any) => void;