You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw a demo on a different issue concerning a TypeScript problem, so I've done the same.
My demo shows an error using the current code and an updated ExtendedEventSourceInput interface used in function call that TypeScript is happy with. The intellisense seems to start only when clicking inside the editor, so it may look ok on first load.
arshaw
changed the title
[v4-alpha.2] ExtendedEventSourceInput events type does not allow EventSourceFunc
[alpha2] ExtendedEventSourceInput events type does not allow EventSourceFunc
Dec 26, 2018
The documentation suggests an EventSourceFunc type value can be assigned to the
events
parameter when using Calendar::addEventSource, however, the current v4-alpha.2 code does not allow it.Editing
fullcalendar.d
locally toevents?: EventInput[] | EventSourceFunc
(or adding@ts-ignore
) allows my v4-alpha.1 code to compile.I could submit a PR but wanted to check if this a regression or is the intention to switch to only allowing
events?: EventInput[]
?The text was updated successfully, but these errors were encountered: