UNPKG

ngx-custom-validators-angular-14

Version:
10 lines (9 loc) 457 B
import { Validator, AbstractControl } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class JSONValidator implements Validator { validate(c: AbstractControl): { [key: string]: any; }; static ɵfac: i0.ɵɵFactoryDeclaration<JSONValidator, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<JSONValidator, "[json][formControlName],[json][formControl],[json][ngModel]", never, {}, {}, never, never, false>; }