@al00x/forms
Version:
Angular Forms, the way it should be!
8 lines (7 loc) • 316 B
TypeScript
import { AbstractControl } from '@angular/forms';
declare let CONTROL_ERRORS: {
[p: string]: string;
};
export declare function setControlErrors(errors: typeof CONTROL_ERRORS): void;
export declare function getControlErrorMessage(control: AbstractControl, customMessage?: string): string | undefined;
export {};