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
@@ -11,7 +11,7 @@
import { Input } from '$lib/components/ui/input';
import { Textarea } from '$lib/components/ui/textarea';
import CharCounter from '$lib/components/ui/CharCounter.svelte';
import type { Booking, BookingService, Service } from '$lib/types/booking';
import type { Booking, BookingService, Payment, Service } from '$lib/types/booking';
interface Props {
open: boolean;
@@ -112,7 +112,7 @@
override_price: s.override_price,
override_duration_minutes: s.override_duration_minutes
})),
payments: (data.payments || []).map((p: any) => ({
payments: (data.payments || []).map((p: Payment) => ({
id: p.id,
booking_id: p.booking_id,
payment_type: p.payment_type,