BillTracker/routes
null 6c915a62c8 refactor(types): type-check batch 2 — 7 medium routes + 2 real fixes
Dropped @ts-nocheck from admin/payments/monthly-starting-amounts/
subscriptions/authOidc/calendar/export (~113 errors). Mostly mechanical
(catch bindings, params, never[] arrays), but the checker earned its keep:

- types/http.d.ts: added the 4-arg res.download(path, name, options, cb)
  overload — the v0.42.0 root-option download fix (admin backup + user-db
  export) didn't type-check against the old 3-arg-only signature.
- routes/calendar.cts: deleted dead clampDay() (zero callers; was also a
  standing lint warning).

@ts-nocheck server count: 21 -> 14. Server suite 252/252.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-11 06:57:41 -05:00
..
about.cts refactor(types): drop @ts-nocheck from the 9 smallest routes (Phase 6 starter) 2026-07-10 18:17:13 -05:00
aboutAdmin.cts refactor(routes): throw-pattern for profile, transactions, admin, aboutAdmin 2026-07-10 17:18:28 -05:00
admin.cts refactor(types): type-check batch 2 — 7 medium routes + 2 real fixes 2026-07-11 06:57:41 -05:00
analytics.cts refactor(types): drop @ts-nocheck from the 9 smallest routes (Phase 6 starter) 2026-07-10 18:17:13 -05:00
auth.cts refactor(types): type-check batch 1 — 8 tail routes (spending/auth/dataSources/status/profile/import/notifications/categories) 2026-07-11 06:53:27 -05:00
authOidc.cts refactor(types): type-check batch 2 — 7 medium routes + 2 real fixes 2026-07-11 06:57:41 -05:00
bills.cts refactor(routes): throw-pattern for bills.cts (largest route, 43+ sites) 2026-07-10 17:00:01 -05:00
calendar.cts refactor(types): type-check batch 2 — 7 medium routes + 2 real fixes 2026-07-11 06:57:41 -05:00
calendarFeed.cts refactor(types): drop @ts-nocheck from the 9 smallest routes (Phase 6 starter) 2026-07-10 18:17:13 -05:00
categories.cts refactor(types): type-check batch 1 — 8 tail routes (spending/auth/dataSources/status/profile/import/notifications/categories) 2026-07-11 06:53:27 -05:00
dataSources.cts refactor(types): type-check batch 1 — 8 tail routes (spending/auth/dataSources/status/profile/import/notifications/categories) 2026-07-11 06:53:27 -05:00
export.cts refactor(types): type-check batch 2 — 7 medium routes + 2 real fixes 2026-07-11 06:57:41 -05:00
import.cts refactor(types): type-check batch 1 — 8 tail routes (spending/auth/dataSources/status/profile/import/notifications/categories) 2026-07-11 06:53:27 -05:00
matches.cts refactor(types): drop @ts-nocheck from the 9 smallest routes (Phase 6 starter) 2026-07-10 18:17:13 -05:00
monthly-starting-amounts.cts refactor(types): type-check batch 2 — 7 medium routes + 2 real fixes 2026-07-11 06:57:41 -05:00
notifications.cts refactor(types): type-check batch 1 — 8 tail routes (spending/auth/dataSources/status/profile/import/notifications/categories) 2026-07-11 06:53:27 -05:00
payments.cts refactor(types): type-check batch 2 — 7 medium routes + 2 real fixes 2026-07-11 06:57:41 -05:00
privacy.cts refactor(types): drop @ts-nocheck from the 9 smallest routes (Phase 6 starter) 2026-07-10 18:17:13 -05:00
profile.cts refactor(types): type-check batch 1 — 8 tail routes (spending/auth/dataSources/status/profile/import/notifications/categories) 2026-07-11 06:53:27 -05:00
settings.cts refactor(types): drop @ts-nocheck from the 9 smallest routes (Phase 6 starter) 2026-07-10 18:17:13 -05:00
snowball.cts fix(integrity): transaction-wrap three multi-statement writes + review cleanups 2026-07-10 22:57:10 -05:00
spending.cts refactor(types): type-check batch 1 — 8 tail routes (spending/auth/dataSources/status/profile/import/notifications/categories) 2026-07-11 06:53:27 -05:00
status.cts refactor(types): type-check batch 1 — 8 tail routes (spending/auth/dataSources/status/profile/import/notifications/categories) 2026-07-11 06:53:27 -05:00
subscriptions.cts refactor(types): type-check batch 2 — 7 medium routes + 2 real fixes 2026-07-11 06:57:41 -05:00
summary.cts refactor(routes): throw-pattern for summary, matches, snowball, dataSources 2026-07-10 16:44:19 -05:00
tracker.cts refactor(types): drop @ts-nocheck from the 9 smallest routes (Phase 6 starter) 2026-07-10 18:17:13 -05:00
transactions.cts refactor(routes): throw-pattern for profile, transactions, admin, aboutAdmin 2026-07-10 17:18:28 -05:00
user.cts refactor(types): drop @ts-nocheck from the 9 smallest routes (Phase 6 starter) 2026-07-10 18:17:13 -05:00
version.cts refactor(types): drop @ts-nocheck from the 9 smallest routes (Phase 6 starter) 2026-07-10 18:17:13 -05:00