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

payload type will change if payload is a Array #1

Closed
ZerroRt opened this issue Jan 24, 2022 · 1 comment
Closed

payload type will change if payload is a Array #1

ZerroRt opened this issue Jan 24, 2022 · 1 comment

Comments

@ZerroRt
Copy link

ZerroRt commented Jan 24, 2022

Seems caused by

let event: Event = {...payload, type};

@axtk
Copy link
Owner

axtk commented Jun 23, 2022

thanks for pointing this out

made an update to the package, so now the extra event data will be available via the property event.data rather than on the event object itself, this should resolve this issue as well

@axtk axtk closed this as completed Jun 23, 2022
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

2 participants