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

fix: remove unused types #2043

Merged
merged 1 commit into from
Feb 16, 2024
Merged

fix: remove unused types #2043

merged 1 commit into from
Feb 16, 2024

Conversation

kettanaito
Copy link
Member

Removes unused types. Likely leftovers from the 2.0 refactoring.

Copy link
Contributor

@mattcosta7 mattcosta7 left a comment

Choose a reason for hiding this comment

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

🔥

* Map of the events that can be sent to the Service Worker
* only as a part of a single `fetch` event handler.
*/
export interface ServiceWorkerFetchEventMap {
Copy link
Member Author

Choose a reason for hiding this comment

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

This is a leftover from the previous client/worker communication protocol. We moved these types to the event channel now (found by looking at createRequestListener).

@kettanaito kettanaito added the chore Tasks aimed at internal improvement label Feb 16, 2024
@kettanaito kettanaito merged commit a78d57d into main Feb 16, 2024
11 checks passed
@kettanaito kettanaito deleted the chore/remove-dead-code branch February 16, 2024 21:22
@kettanaito
Copy link
Member Author

Released: v2.2.1 🎉

This has been released in v2.2.1!

Make sure to always update to the latest version (npm i msw@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Tasks aimed at internal improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants