Skip to content

Update core dependencies #1854

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
Nov 29, 2024

Conversation

typescript-bot
Copy link
Contributor

Automated changes by create-pull-request GitHub action

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.

}

interface MessageEventTarget {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/message_event) */
Copy link
Contributor

Choose a reason for hiding this comment

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

The link is suboptimal in this very file. Optimal would be
https://developer.mozilla.org/en-US/docs/Web/API/Window/message_event

Copy link
Contributor

Choose a reason for hiding this comment

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

Nothing is optimal actually as MessageEventTarget can be implemented by multiple interfaces. And Window doesn't implement it, that one is coming from WindowEventHandlers. Using worker on window lib is indeed weird though.

Copy link
Contributor

@saschanaz saschanaz left a comment

Choose a reason for hiding this comment

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

LGTM for now. The MDN comment is now a bit weird but I don't see a good solution.

}

interface MessageEventTarget {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/message_event) */
Copy link
Contributor

Choose a reason for hiding this comment

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

Nothing is optimal actually as MessageEventTarget can be implemented by multiple interfaces. And Window doesn't implement it, that one is coming from WindowEventHandlers. Using worker on window lib is indeed weird though.

@saschanaz
Copy link
Contributor

LGTM

@github-actions github-actions bot merged commit 1198401 into microsoft:main Nov 29, 2024
6 of 8 checks passed
Copy link
Contributor

Merging because @saschanaz is a code-owner of all the changes - thanks!

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.

4 participants