Skip to content

fix(utils): Do not use Event type in worldwide #9864

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

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Conversation

mydea
Copy link
Member

@mydea mydea commented Dec 15, 2023

As that is browser only.

Closes #9860

@mydea mydea requested review from lforst and Lms24 December 15, 2023 11:16
@mydea mydea self-assigned this Dec 15, 2023
@mydea mydea mentioned this pull request Dec 15, 2023
3 tasks
Copy link
Contributor

@lforst lforst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

event is kinda dangerous. Wondering if we can lint for stuff like this. I know eslint has the env option.

@mydea
Copy link
Member Author

mydea commented Dec 15, 2023

event is kinda dangerous. Wondering if we can lint for stuff like this. I know eslint has the env option.

Yeah, it's hard now because utils has some browser specific stuff in it 😬 in v8, when we "fixed" this by only having generic stuff in core, we should add some lint rule for this for sure!

@mydea mydea merged commit 30bb8b5 into develop Dec 15, 2023
@mydea mydea deleted the fn/worldwide-event branch December 15, 2023 11:48
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

Successfully merging this pull request may close these issues.

Avoid Event type in utils worldwide
2 participants