BUG: TypeScript errors — Stripe API version mismatch (tsc --noEmit fails) #4
Labels
No labels
blocked:needs-decision
bug
chore
in-progress
security/high
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AuWoMe/planish#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Running
npx tsc --noEmitproduces 2 TypeScript errors in the billing route files:Cause
Both files specify
apiVersion: "2026-04-22.dahlia"when initializing Stripe, but the installedstripepackage (v22.0.1) only defines type definitions for"2026-03-25.dahlia".Impact
tsc --noEmitfails, which means the CI "typecheck" job in.forgejo/workflows/ci.ymlwould failnext buildstill succeeds because Next.js has looser type checkingFix
Either:
"2026-03-25.dahlia"stripenpm package to a version that supports the newer API version