Skip to content

Commit

Permalink
fix(bar-chart-race): use ReturnType for timer
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed Dec 21, 2024
1 parent 5268b17 commit 1f17eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BarChartRace.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
});
let isPlaying = false;
let timer: Timer;
let timer: ReturnType<typeof setInterval>;
let currentIndex = 0;
$: currentIndex = $range.indexOf($value);
Expand Down

0 comments on commit 1f17eda

Please sign in to comment.