refactor: eliminate more any types in FightScene, FightViewer, FightPage

Replace any[] with GameObj[], fighter: any with Fighter in speech
bubbles, talking anims, showboat system, bow/fistbump/helpup, and
dizzy stars. Fix customization as any casts with ?? undefined.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-09 06:29:09 +00:00
co-authored by Claude Opus 4.6
parent a86d39b982
commit 38d7236be3
3 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -566,7 +566,7 @@ async function watchAnotherFight() {
const res = await fetch('/api/fights')
if (res.ok) {
const fights = await res.json()
const finished = fights.filter((f: any) => f.status === 'finished' && f.id !== fightId.value)
const finished = fights.filter((f: { status: string; id: string }) => f.status === 'finished' && f.id !== fightId.value)
if (finished.length > 0) {
const pick = finished[Math.floor(Math.random() * finished.length)]
router.push(`/arena/${pick.id}`)