You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve all React/TypeScript build errors for Railway deployment
- Add tsconfig.json to frontend (react-scripts requires it for .tsx files)
- Move @font-face declarations from global.css to public/index.html to
avoid webpack trying to resolve absolute /fonts/ paths as modules
- Export missing types (RiskLevel, Outcome, VerifyFailure, DashboardFilters)
from types/index.ts
- Add index signature to Decision interface to satisfy Table<T extends Record<string,unknown>>
- Fix render(val) calls: cast unknown val to String(val) in JSX
- Make Input/Select/Alert/Checkbox optional props (error, helperText, id, title, onDismiss)
optional via default values so TypeScript infers them as optional
- Add style prop to SkeletonProps and spread it in the component
- Fix handleKeyDown type: HTMLTableSectionElement → HTMLElement
- Exclude *.test.tsx and *.stories.tsx from tsconfig to avoid missing
@testing-library/react and @storybook/react type errors during build
Build now produces: "The build folder is ready to be deployed."
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments