Skip to content

Fix Railway build by removing @clerk/shared/types import#32

Merged
codybmenefee merged 1 commit intomainfrom
codex/fix-clerk-type-import-build
Feb 9, 2026
Merged

Fix Railway build by removing @clerk/shared/types import#32
codybmenefee merged 1 commit intomainfrom
codex/fix-clerk-type-import-build

Conversation

@codybmenefee
Copy link
Copy Markdown
Owner

Summary

  • replace @clerk/shared/types import in useResolvedBillingAccess with local structural billing types
  • keep behavior unchanged while avoiding module resolution failure in CI
  • preserve strict typing for subscription item/plan/feature traversal

Why

Railway build environment could not resolve @clerk/shared/types, causing TS2307 and cascading implicit-any errors.

Validation

  • cd app && npx eslint src/lib/auth/useResolvedBillingAccess.ts
  • cd app && pnpm run build

@codybmenefee codybmenefee merged commit af159de into main Feb 9, 2026
1 check passed
@codybmenefee codybmenefee deleted the codex/fix-clerk-type-import-build branch February 9, 2026 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant