Skip to content

fix: export AnyHandler type#2663

Merged
kettanaito merged 1 commit intomainfrom
fix/any-handler-type
Feb 10, 2026
Merged

fix: export AnyHandler type#2663
kettanaito merged 1 commit intomainfrom
fix/any-handler-type

Conversation

@kettanaito
Copy link
Member

MSW now exports the AnyHandler type that can be used when creating your own abstractions over it. Creating a manual union of all currently present handler types isn't practical.

@kettanaito kettanaito merged commit 90f9be4 into main Feb 10, 2026
20 of 21 checks passed
@kettanaito kettanaito deleted the fix/any-handler-type branch February 10, 2026 14:10
@kettanaito
Copy link
Member Author

Released: v2.12.10 🎉

This has been released in v2.12.10.

Get these changes by running the following command:

npm i msw@latest

Predictable release automation by 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.

1 participant