@beenotung/tslib
Version:
utils library in Typescript
14 lines (13 loc) • 357 B
TypeScript
/** *****************
* helper functions *
********************/
/**
* helper function to format tel with pattern
*/
export declare function format_tel_with_pattern(tel: string, pattern: string): string;
/**
* remove space, hyphen, bracket, etc.
*
* preserve only digits and +
*/
export declare function to_tel_digits(tel: string | number): string;