UNPKG

ng-error-message

Version:

Displays error messages when a form control is invalid avoiding the long list of tags for each error

16 lines (15 loc) 497 B
import { PipeTransform } from '@angular/core'; import { NgErrorMessageService } from './ng-error-message.service'; export declare class NgErrorMessagePipe implements PipeTransform { private _errorMessageSrv; /** * Saves the untransformed message */ private _cachedCleanMessage; /** * Saves the transformed message */ private _cachedTransformedMessage; constructor(_errorMessageSrv: NgErrorMessageService); transform(errors: any, args?: any): any; }