Removed unused type definitions.

This commit is contained in:
Lucid Kobold
2022-06-13 12:16:54 -05:00
parent ad6b35012d
commit 8654d7ac79

View File

@@ -29,11 +29,6 @@ interface Month {
week6: MonthDay[]; week6: MonthDay[];
} }
interface MonthInfo {
date: Date;
title: string;
}
interface WeekLayout { interface WeekLayout {
weekdays: DaysOfWeek; weekdays: DaysOfWeek;
month: Month; month: Month;
@@ -44,21 +39,8 @@ interface MonthLayout {
monday: WeekLayout; monday: WeekLayout;
} }
interface MonthContext extends MonthInfo {
layout: MonthLayout;
}
interface UpdateCalendarProps { interface UpdateCalendarProps {
year: number; year: number;
month: number; month: number;
day: number; day: number;
} }
interface CalenderContextState {
currDate: Date;
setCurrDate: React.Dispatch<React.SetStateAction<Date>>;
selectedDate: Date;
title: string;
layout: MonthLayout;
updateDate: (input: UpdateCalendarProps) => void;
}