diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-25 21:40:54 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-25 21:40:54 +0200 |
| commit | 777b0f700067d7ffde37fbe14ed320f2ef630330 (patch) | |
| tree | 6603d8de2481314155599bb15dab4a076b0478fd /apps/web/src/stores/playback-store.ts | |
| parent | 926aebe00423b5b0b2fd0d8cf0ee97c6e85ec1fd (diff) | |
| download | opencut-777b0f700067d7ffde37fbe14ed320f2ef630330.tar.gz | |
refactor: improved type-safety, removal of any from all instances
Diffstat (limited to 'apps/web/src/stores/playback-store.ts')
| -rw-r--r-- | apps/web/src/stores/playback-store.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
