@lion/localize
Version:
The localization system helps to manage localization data split into locales and automate its loading
14 lines (13 loc) • 701 B
TypeScript
/**
* Based on number, returns currency name like 'US dollar'
*
* @typedef {import('../../types/LocalizeMixinTypes').FormatNumberPart} FormatNumberPart
* @param {string} currencyIso iso code like USD
* @param {import('../../types/LocalizeMixinTypes').FormatNumberOptions} [options] Intl options are available extended by roundMode
* @returns {string} currency name like 'US dollar'
*/
export function getCurrencyName(currencyIso: string, options?: import("../../types/LocalizeMixinTypes.js").FormatNumberOptions | undefined): string;
/**
* Based on number, returns currency name like 'US dollar'
*/
export type FormatNumberPart = import("../../types/LocalizeMixinTypes.js").FormatNumberPart;