@maskito/kit
Version:
The optional framework-agnostic Maskito's package with ready-to-use masks
13 lines • 589 B
TypeScript
import type { MaskitoPreprocessor } from '@maskito/core';
/**
* It replaces pseudo characters with valid one.
* @example User types '.' (but separator is equal to comma) => dot is replaced with comma.
* @example User types hyphen / en-dash / em-dash => it is replaced with minus.
*/
export declare function createPseudoCharactersPreprocessor({ validCharacter, pseudoCharacters, prefix, postfix, }: {
validCharacter: string;
pseudoCharacters: string[];
prefix: string;
postfix: string;
}): MaskitoPreprocessor;
//# sourceMappingURL=pseudo-character-preprocessor.d.ts.map