From 6e665be86ec3cd57dba2225533d61e436ff7c681 Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Thu, 1 Aug 2024 11:33:08 +0530 Subject: [PATCH] fix: make useGrouping option optional --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 7668945..28ebc20 100644 --- a/src/types.ts +++ b/src/types.ts @@ -24,7 +24,7 @@ export type NumberFormatOptions = Intl.NumberFormatOptions & { currencySign?: 'accounting' | 'standard' currencyDisplay?: 'symbol' | 'narrowSymbol' | 'code' | 'name' compactDisplay?: 'short' | 'long' - useGrouping: 'min2' | 'auto' | 'always' | boolean + useGrouping?: 'min2' | 'auto' | 'always' | boolean } /**