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: export "HttpRequestHandler" and "GraphQLRequestHandler" types #1973

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

kettanaito
Copy link
Member

In #1961, I forgot to export the newly introduced HttpRequestHandler and GraphQLRequestHandler types. This adds them to the exports of the core. Also, adjusts the type tests for custom handlers to actually use those types.

@kettanaito
Copy link
Member Author

Thanks for a swift review, @mattcosta7! This was an oversight on my part. Will update the docs as well.

@kettanaito kettanaito merged commit ca423d9 into main Jan 17, 2024
11 checks passed
@kettanaito kettanaito deleted the fix/export-request-handler-types branch January 17, 2024 13:38
@kettanaito
Copy link
Member Author

Released: v2.1.2 🎉

This has been released in v2.1.2!

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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants