UNPKG

@studiohyperdrive/ngx-forms

Version:
23 lines (22 loc) 986 B
import { ValidationErrors } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class NgxFormsErrorAbstractComponent { /** * An array of error messages that can be rendered */ errors: string[]; /** * An array of error keys that can be rendered */ errorKeys: string[]; /** * The error object provided by the control */ data: ValidationErrors; /** * An object containing custom error messages */ customErrorMessages: Record<string, string>; static ɵfac: i0.ɵɵFactoryDeclaration<NgxFormsErrorAbstractComponent, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<NgxFormsErrorAbstractComponent, never, never, { "errors": { "alias": "errors"; "required": true; }; "errorKeys": { "alias": "errorKeys"; "required": true; }; "data": { "alias": "data"; "required": true; }; "customErrorMessages": { "alias": "customErrorMessages"; "required": false; }; }, {}, never, never, true, never>; }