ngx-error-message
Version:
A package to display error messages in angular forms
13 lines (12 loc) • 593 B
TypeScript
import { PipeTransform } from '@angular/core';
import { ValidationErrors } from '@angular/forms';
import * as i0 from "@angular/core";
export declare class NgxErrorMessagePipe implements PipeTransform {
private readonly errorMessageService;
private cachedData;
private cachedError;
private cachedLang;
transform(value: ValidationErrors | null, lang?: string, patternKey?: string, fieldName?: string): string;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxErrorMessagePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<NgxErrorMessagePipe, "ngxErrorMessage", true>;
}