@narik/custom-validators
Version:
Framework to create angular application
10 lines (9 loc) • 464 B
TypeScript
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, never>;
}