Adding types.

This commit is contained in:
Lucid Kobold
2022-01-02 18:21:17 -06:00
parent 95b9f91ef7
commit 3d847fc6aa

View File

@@ -29,10 +29,19 @@ interface WeekDays {
monday: DaysOfWeek;
}
interface MonthDay {
interface Sticker {
date: Date;
sticker: -2 | -1 | 0 | 1 | 2 | null;
}
interface MonthSticker {
date: Date;
month: Sticker[];
}
interface MonthDay extends Sticker {
isOverflow: boolean;
overflowDirection: "prev" | "next" | null;
date: Date;
}
interface Month {