# Fix TypeScript Errors 1. Run `npx tsc --noEmit` to get all errors 2. Fix each error across all affected files — NEVER use `any`. Use proper types, generics, or `unknown` with type guards. 3. After all fixes, re-run `npx tsc --noEmit` and confirm zero errors 4. Run `npx vitest run` to confirm no test regressions 5. Report summary of changes made