style: fix no-explicit-any — replace with proper TypeScript types

This commit is contained in:
2026-06-25 14:46:51 +01:00
parent 6291d04b47
commit a8d04b77e2
6 changed files with 10 additions and 9 deletions
@@ -112,7 +112,7 @@
if (response.ok) {
const data = await response.json();
defaultHours = data.map((hour: any) => ({
defaultHours = data.map((hour: { weekday: number; startTime: string; endTime: string; isOpen: boolean }) => ({
weekday: hour.weekday,
start_time: formatTime(hour.startTime),
end_time: formatTime(hour.endTime),