From b5faa0382b9e425ee400f1a83c35ac521b111b77 Mon Sep 17 00:00:00 2001 From: Jamal Soueidan Date: Sat, 21 Oct 2023 04:16:45 +0200 Subject: [PATCH] test with type --- src/library/availability/generate-availability.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/library/availability/generate-availability.ts b/src/library/availability/generate-availability.ts index 240a7f4b..f5fb3539 100644 --- a/src/library/availability/generate-availability.ts +++ b/src/library/availability/generate-availability.ts @@ -9,13 +9,14 @@ import { import { utcToZonedTime } from "date-fns-tz"; import { enUS } from "date-fns/locale"; import { Availability } from "~/functions/availability"; +import { CustomerScheduleServiceGetWithCustomerResponse } from "~/functions/customer/services/schedule"; import { LookupServiceCreate } from "~/functions/lookup"; import { calculateMaxNoticeAndMinBookingPeriod } from "./calculate-max-notice-and-min-booking-period"; import { generateEndDate, generateStartDate } from "./start-end-date"; export type GenerateAvailabilityProps = { - schedule: any; + schedule: CustomerScheduleServiceGetWithCustomerResponse; lookup?: Awaited>; startDate: string; };