Our pure JavaScript Scheduler component


Post by tomerPlanit »

Hi, We are working with Scheduler 4.0.8v and angular 10.

I use the getEvents() function for get events of resource and in time span.

I get type script error:

error TS2554: Expected 0 arguments, but got 1

Then I checked the event store class and find this declaration:

 getEvents(): EventModel[]|Map<any,any>;

In the API documentation the function declaration is with no parameters and in the description you say that has parameters.

What is the correct one?


Post by mats »

This is a documentation bug yes, we'll fix it. It always accepts one argument.


Post Reply