Open jaumemirallesisern opened 2 years ago
I try to use Event class like in the example.
When I set the constructor like, for instance: new Event( new Date(), 15 );
I get the error "TypeError: Event constructor: Argument 2 can't be converted to a dictionary."
I don't see the problem as the documentation says that "The data may be any type.".
The source code related with the example puzzles me more as it uses TimeEvent instead of Event. BTW, trying to use TimeEvent gives the same error.
❔Question
I try to use Event class like in the example.
When I set the constructor like, for instance: new Event( new Date(), 15 );
I get the error "TypeError: Event constructor: Argument 2 can't be converted to a dictionary."
I don't see the problem as the documentation says that "The data may be any type.".
The source code related with the example puzzles me more as it uses TimeEvent instead of Event. BTW, trying to use TimeEvent gives the same error.