Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"TypeError: Event constructor: Argument 2 can't be converted to a dictionary." #479

Open
jaumemirallesisern opened this issue Jul 21, 2021 · 0 comments

Comments

@jaumemirallesisern
Copy link

❔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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant