ngx-editor
Version:
WYSIWYG Editor for Angular Applications
11 lines (10 loc) • 362 B
TypeScript
import { AbstractControl } from '@angular/forms';
interface IMaxLengthValidatorOptions {
excludeLineBreaks?: boolean;
concatWhiteSpaces?: boolean;
excludeWhiteSpaces?: boolean;
}
export declare function MaxLengthValidator(maxlength: number, options?: IMaxLengthValidatorOptions): (control: AbstractControl) => {
[key: string]: any;
};
export {};