Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

make currencyFormatter options optional

Steven Tey15778c5c8907
diff --git a/packages/utils/src/functions/currency-formatter.ts b/packages/utils/src/functions/currency-formatter.ts
index 0bccbb15da..38e82cc576 100644
--- a/packages/utils/src/functions/currency-formatter.ts
+++ b/packages/utils/src/functions/currency-formatter.ts
@@ -1,6 +1,6 @@
export const currencyFormatter = (
value: number,
- options: Intl.NumberFormatOptions,
+ options?: Intl.NumberFormatOptions,
) =>
Intl.NumberFormat("en-US", {
style: "currency",