UNPKG

ngx-strongly-typed-forms

Version:

Strongly typed definitions for Angulars @angular/forms

7 lines (6 loc) 549 B
import { AbstractControl as NgAbstractControl, FormArray as NgFormArray, FormControl as NgFormControl, FormGroup as NgFormGroup } from '@angular/forms'; import { AbstractControl, FormArray, FormControl, FormGroup } from './model'; export declare function toUntyped<T>(control: FormControl<T>): NgFormControl; export declare function toUntyped<T>(control: FormGroup<T>): NgFormGroup; export declare function toUntyped<T>(control: FormArray<T>): NgFormArray; export declare function toUntyped<T>(control: AbstractControl<T>): NgAbstractControl;