Open Issues Need Help
View All on GitHub formatCurrency loosely type: [locale, currency] about 2 months ago
AI Summary: Improve the type definitions for the `formatCurrency` function in the `num-format-utils` library to provide better autocompletion and prevent incorrect combinations of locales and currencies. The goal is to ensure that when a locale is specified, only valid currencies for that locale are accepted by the function.
Complexity:
3/5
bug good first issue
Lightweight TypeScript utilities for formatting numbers, currencies, and percentages etc.
TypeScript
#currency#format#intl#numbers#typescript#utilities