UNPKG

@studiohyperdrive/ngx-forms

Version:
10 lines (9 loc) 362 B
import { FormControl } from '@angular/forms'; /** * Validates whether the inputted value has exceeded the maximum amount of decimals after the comma * * @param max - The maximum number of decimals after the comma */ export declare const decimalsAfterCommaValidator: (max: number) => (control: FormControl) => { invalidDecimalsAfterComma: true; } | null;