MoneyFormatOptions
Type. Locale and number-format options for formatMoney.
Table of contents
Category
Type
Type import
tsimport type { MoneyFormatOptions } from "valyrian.js/money";Public signature
tstype MoneyFormatOptions = { locale?: Intl.LocalesArgument; currency?: string; digits?: number; decimalPlaces?: number; style?: Intl.NumberFormatOptions["style"]; };Type usage
MoneyFormatOptions configures the locale, currency, digits, decimal places and number-format style accepted by formatMoney.