From 777b0f700067d7ffde37fbe14ed320f2ef630330 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Wed, 25 Jun 2025 21:40:54 +0200 Subject: refactor: improved type-safety, removal of any from all instances --- apps/web/src/stores/playback-store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/web/src/stores') diff --git a/apps/web/src/stores/playback-store.ts b/apps/web/src/stores/playback-store.ts index 0cc01cc1..543865f9 100644 --- a/apps/web/src/stores/playback-store.ts +++ b/apps/web/src/stores/playback-store.ts @@ -8,7 +8,7 @@ interface PlaybackStore extends PlaybackState, PlaybackControls { let playbackTimer: number | null = null; -const startTimer = (store: any) => { +const startTimer = (store: () => PlaybackStore) => { if (playbackTimer) cancelAnimationFrame(playbackTimer); // Use requestAnimationFrame for smoother updates -- cgit v1.3.1