fix: TypeScript build errors in RunEncounters.tsx #71

Merged
TheFurya merged 1 commits from feature/fix-typescript-build-errors-in-runencounterstsx into develop 2026-03-21 12:26:38 +01:00
Owner

Summary

  • Use explicit BossResult type instead of (typeof bossResults)[number] which fails when bossResults is BossResult[] | undefined
  • Add BossResultTeamMember type annotation to tm parameter to fix implicit any

These errors blocked the production frontend build.

Test plan

  • tsc -b passes with no errors
  • All frontend tests pass

🤖 Generated with Claude Code

## Summary - Use explicit `BossResult` type instead of `(typeof bossResults)[number]` which fails when `bossResults` is `BossResult[] | undefined` - Add `BossResultTeamMember` type annotation to `tm` parameter to fix implicit `any` These errors blocked the production frontend build. ## Test plan - [x] `tsc -b` passes with no errors - [x] All frontend tests pass 🤖 Generated with [Claude Code](https://claude.com/claude-code)
TheFurya added 1 commit 2026-03-21 12:25:30 +01:00
fix: TypeScript build errors in RunEncounters.tsx
All checks were successful
CI / backend-tests (pull_request) Successful in 27s
CI / frontend-tests (pull_request) Successful in 29s
5c10041b8b
Use explicit BossResult type instead of indexing potentially undefined
typeof bossResults. Add BossResultTeamMember type to tm parameter.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
TheFurya merged commit 7e7c5e7536 into develop 2026-03-21 12:26:38 +01:00
TheFurya deleted branch feature/fix-typescript-build-errors-in-runencounterstsx 2026-03-21 12:26:39 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pokemon/nuzlocke-tracker#71