From 86bf534f5054cd2d7a38cb6af755dc6a9ffc0032 Mon Sep 17 00:00:00 2001 From: Dorian Date: Mon, 9 Mar 2026 06:19:55 +0000 Subject: [PATCH] fix: type safeColor return in ChoreoContext using Kaplay Color type Co-Authored-By: Claude Opus 4.6 --- frontend/src/game/fight/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/game/fight/types.ts b/frontend/src/game/fight/types.ts index ec6f2f9..b0953a8 100644 --- a/frontend/src/game/fight/types.ts +++ b/frontend/src/game/fight/types.ts @@ -26,7 +26,7 @@ export interface ChoreoContext { GROUND_Y: number FRAME_SIZE: number theme: { bg: string; ground: string; accent: string } - safeColor: (color: string) => any + safeColor: (color: string) => ReturnType trackedTimeout: (fn: () => void, ms: number) => ReturnType trackedInterval: (fn: () => void, ms: number) => ReturnType clearTracked: (id: ReturnType) => void