UNPKG

ngx-schema-forms

Version:

New features: - Ajv schema validator. - Angular forms compatible: Property tree is created using FormGroup, FormArray and FormControl classes. - Array now properly loads initial data from model. - WidgetTyep: WidgetRegistry now supports WidgetType, now wo

5 lines (4 loc) 283 B
import { AbstractControl } from '@angular/forms'; import { FormProperty } from './form-property'; export declare type Constructor<T> = new (...args: any[]) => T; export declare function ControlProperty<T extends Constructor<AbstractControl>>(Base: T): T & Constructor<FormProperty>;