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.

use ts-ignore for now

Steven Tey36c6464f8d11
diff --git a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/plan/plan-selector.tsx b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/plan/plan-selector.tsx
index ba66cc72fb..8f18d1d878 100644
--- a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/plan/plan-selector.tsx
+++ b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/plan/plan-selector.tsx
@@ -79,6 +79,7 @@ function PlanCard({
format={{
style: "currency",
currency: "USD",
+ // @ts-ignore – this is a valid option but TS is outdated
trailingZeroDisplay: "stripIfInteger",
}}
continuous
diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json
index 92ee8f3bab..4c7a360836 100644
--- a/apps/web/tsconfig.json
+++ b/apps/web/tsconfig.json
@@ -1,7 +1,7 @@
{
"extends": "tsconfig/nextjs.json",
"compilerOptions": {
- "target": "ESNext",
+ "target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
diff --git a/apps/web/ui/analytics/events/events-tabs.tsx b/apps/web/ui/analytics/events/events-tabs.tsx
index 65f6cff257..4e376bbe02 100644
--- a/apps/web/ui/analytics/events/events-tabs.tsx
+++ b/apps/web/ui/analytics/events/events-tabs.tsx
@@ -114,6 +114,7 @@ export default function EventsTabs({
? {
style: "currency",
currency: "USD",
+ // @ts-ignore – this is a valid option but TS is outdated
trailingZeroDisplay: "stripIfInteger",
}
: {
diff --git a/apps/web/ui/analytics/main.tsx b/apps/web/ui/analytics/main.tsx
index f5b3dbf479..c3fd8f12c3 100644
--- a/apps/web/ui/analytics/main.tsx
+++ b/apps/web/ui/analytics/main.tsx
@@ -119,6 +119,7 @@ export default function Main() {
? {
style: "currency",
currency: "USD",
+ // @ts-ignore – this is a valid option but TS is outdated
trailingZeroDisplay: "stripIfInteger",
}
: {