14 lines
630 B
Markdown
14 lines
630 B
Markdown
|
|
---
|
||
|
|
# nuzlocke-tracker-3mwb
|
||
|
|
title: Fix TypeScript build errors in RunEncounters.tsx
|
||
|
|
status: completed
|
||
|
|
type: bug
|
||
|
|
priority: normal
|
||
|
|
created_at: 2026-03-21T11:24:09Z
|
||
|
|
updated_at: 2026-03-21T11:25:37Z
|
||
|
|
---
|
||
|
|
|
||
|
|
Two TS errors blocking production build:\n1. Line 693: `(typeof bossResults)[number]` fails because bossResults is `BossResult[] | undefined`\n2. Line 1601: Parameter 'tm' implicitly has 'any' type
|
||
|
|
|
||
|
|
## Summary of Changes\n\nFixed two TypeScript errors in RunEncounters.tsx:\n1. Used explicit `BossResult` type instead of `(typeof bossResults)[number]`\n2. Added `BossResultTeamMember` type annotation to `tm` parameter\n\nPR: #71
|