UNPKG

react-schedule-meeting

Version:
12 lines (11 loc) 415 B
export type TimeSlot = { startTime: Date | string; endTime: Date | string; [key: string]: any; }; /** * @param {TimeSlot[]} availableTimeSlots * @param {TimeSlot[]} unavailableTimeSlots * @returns {TimeSlot[]} Available TimeSlots less the intersecting unavailable TimeSlots */ export declare function timeSlotDifference(availableTimeSlots: TimeSlot[], unavailableTimeSlots: TimeSlot[]): TimeSlot[];