angular-reactive-validation
Version:
Reactive Forms validation shouldn't require the developer to write lots of HTML to show validation messages. This library makes it easy.
4 lines (3 loc) • 326 B
TypeScript
import { UntypedFormControl, ControlContainer } from '@angular/forms';
export declare const getFormControlFromContainer: (name: string, controlContainer: ControlContainer | undefined) => UntypedFormControl;
export declare const isControlContainerVoidOrInitialized: (controlContainer: ControlContainer | undefined) => boolean;