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

MessageEventTarget's events have type MessageEvent #1881

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

sandersn
Copy link
Member

The override did not get added when the new mixin was introduced to Worker and MessagePort.

The override did not get added when the new mixin was introduced to Worker and
MessagePort.
Copy link
Contributor

Thanks for the PR!

This section of the codebase is owned by @saschanaz - if they write a comment saying "LGTM" then it will be merged.

@sandersn
Copy link
Member Author

sandersn commented Jan 17, 2025

It might be the right thing to also delete the overrides for MessagePort and Worker -- thereby deleting interface MessagePortEventMap in dom.generated.d.ts -- but I want to make the smallest change to main that will avoid breaking existing code (eg vscode is broken on main but shouldn't be after this PR.)

@sandersn sandersn merged commit 394c066 into main Jan 17, 2025
8 checks passed
@sandersn sandersn deleted the MessageEventTarget-event-typed-as-MessageEvent branch January 17, 2025 16:38
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.

1 participant