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: return type of "passthrough" #2002

Merged
merged 2 commits into from
Feb 4, 2024
Merged

Conversation

kettanaito
Copy link
Member

Root cause

The return type of passthrough(), which was Response, was incompatible with StrictResponse that exists on the return type of the response resolver.

@kettanaito kettanaito merged commit b030db5 into main Feb 4, 2024
11 checks passed
@kettanaito kettanaito deleted the fix/passthrough-return-type branch February 4, 2024 20:58
@kettanaito
Copy link
Member Author

Released: v2.1.6 🎉

This has been released in v2.1.6!

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

Successfully merging this pull request may close these issues.

TypeScript error using passthrough() in GraphQL mock
2 participants