@synotech/utils
Version:
a collection of utilities for internal use
12 lines (11 loc) • 413 B
TypeScript
/**
* This function formats a phone number string to international format
* @module phoneNumberFormatString
* @param {string} numberString - a phone number string
* @return {object} {String} a formatted phone number string
* @example
*
* phoneNumberFormatString('+276925411223') // returns +27 692 541 1223
*
*/
export declare const phoneNumberFormatString: (numberString: string) => string;