@maskito/kit
Version:
The optional framework-agnostic Maskito's package with ready-to-use masks
15 lines • 607 B
TypeScript
import type { MaskitoPostprocessor } from '@maskito/core';
/**
* It removes repeated leading zeroes for integer part.
* @example 0,|00005 => Backspace => |5
* @example -0,|00005 => Backspace => -|5
* @example User types "000000" => 0|
* @example 0| => User types "5" => 5|
*/
export declare function createLeadingZeroesValidationPostprocessor({ decimalSeparator, thousandSeparator, prefix, postfix, }: {
decimalSeparator: string;
thousandSeparator: string;
prefix: string;
postfix: string;
}): MaskitoPostprocessor;
//# sourceMappingURL=leading-zeroes-validation-postprocessor.d.ts.map