UNPKG

@zarlex/ngx-accessor

Version:

This library provides an adapter to interact with Angular forms. It also provides an adapter to work with object signals and forms

9 lines (8 loc) 511 B
import { AbstractControl, EmailValidator as NgEmailValidator, ValidationErrors } from '@angular/forms'; import * as i0 from "@angular/core"; export declare const EMAIL_VALIDATOR: any; export declare class EmailValidator extends NgEmailValidator { validate(control: AbstractControl): ValidationErrors | null; static ɵfac: i0.ɵɵFactoryDeclaration<EmailValidator, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<EmailValidator, "[ngxAccessor][email]", never, {}, {}, never, never, true, never>; }