The events field in CalendarConfig is defined as “events?: EventData[];” while in MonthConfig it is defined as “events?: EventData;” which is probably incorrect? This is supposed to represent multiple events, e.g. an array.
I get a compilation error when attempting to assign my events to it, whereas in normal calendar it works properly.
Note: editing the .d.ts file manually fixes the issue and it seems the events are properly being displayed.
Moreover, there is a discrepancy in function definitions between them as well - CalendarConfig contains a definition for the function overload “remove(id: EventId): void;” while MonthConfig does not.
Is this intentional or is it simply an oversight and a definition needs to be added?
Thanks in advance.