package.dist.locale.normalizeLocale.d.ts Maven / Gradle / Ivy
/**
* Normalizes the given locale in BCP-47 syntax.
* @param {string} locale locale to normalize
* @returns {string} Normalized locale, "undefined" if the locale can't be normalized or the default locale, if no locale provided.
*/
declare const normalizeLocale: (locale: string) => string;
export default normalizeLocale;