ng-fveh
Version:
NG-FVEH - Some helpers to help you with form validation :)
11 lines (10 loc) • 381 B
TypeScript
import { FormControl } from '@angular/forms';
import { NgFvehLibService } from '../../ng-fveh-lib.service';
export declare class ErrorsPresenterComponent {
service: NgFvehLibService;
field: FormControl;
constructor(service: NgFvehLibService);
getFieldErrors(): string[];
getErrorMessage(errorPropertyName: string): string;
hasErrors(): boolean;
}