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.

Update backfill-commissions.ts

Steven Tey4a0b3fc3dc53
diff --git a/apps/web/scripts/framer/backfill-commissions.ts b/apps/web/scripts/framer/backfill-commissions.ts
index d1223a1123..5b9b8f62f3 100644
--- a/apps/web/scripts/framer/backfill-commissions.ts
+++ b/apps/web/scripts/framer/backfill-commissions.ts
@@ -55,7 +55,7 @@ async function main() {
...p,
};
})
- .filter((p) => p !== null);
+ .filter((p): p is NonNullable<typeof p> => p !== null);
const manualCommissions = processedData.map((d) => {
return {