diff --git a/package.json b/package.json index 3a8305b..1c61a64 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "typescript": "^5.5.4" }, "dependencies": { - "@poppinss/intl-formatter": "^3.0.2", + "@poppinss/intl-formatter": "^3.0.3", "@poppinss/utils": "^6.7.3", "intl-messageformat": "^10.5.14", "luxon": "^3.4.4", diff --git a/src/types.ts b/src/types.ts index 2909e2e..7668945 100644 --- a/src/types.ts +++ b/src/types.ts @@ -18,12 +18,13 @@ export type NumberFormatOptions = Intl.NumberFormatOptions & { style?: 'decimal' | 'currency' | 'percent' | 'unit' unitDisplay?: 'long' | 'short' | 'narrow' - signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero' + signDisplay?: 'auto' | 'always' | 'never' | 'exceptZero' | 'negative' notation?: 'standard' | 'scientific' | 'engineering' | 'compact' localeMatcher?: 'best fit' | 'lookup' currencySign?: 'accounting' | 'standard' currencyDisplay?: 'symbol' | 'narrowSymbol' | 'code' | 'name' compactDisplay?: 'short' | 'long' + useGrouping: 'min2' | 'auto' | 'always' | boolean } /**