@studiohyperdrive/ngx-forms
Version:
An Angular package to help with complex forms and their validation.
15 lines (14 loc) • 339 B
TypeScript
import { ValidatorFn } from '@angular/forms';
/**
* WordCountValidator
*
* The WordCountValidator validator will check the amount of words provided in a control.
*
* @param .min
* @param .max
* @returns ValidatorFn
*/
export declare const WordCountValidator: ({ min, max }: {
min?: number;
max?: number;
}) => ValidatorFn;