The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
make currencyFormatter options optional
Steven Tey15778c5c8907
diff --git a/packages/utils/src/functions/currency-formatter.ts b/packages/utils/src/functions/currency-formatter.tsindex 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",