export interface ErrorMapperInterface {
/**
* Maps an error to a string.
* @param {string} key the error key. i.e., required, etc
* @param error the error object
* @param control control Object (AbstractControl for Angular, NgModel for AngularJS)
* @returns {string}
*/
map(key: string, error?: any, control?: any): string;
}
declare const mapper: ErrorMapperInterface
mapperService.map(firstError, errors[firstError])
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too