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

prevent badly typed Middleware<any> from casting dispatch to any #1041

Merged

Conversation

phryneas
Copy link
Member

@phryneas phryneas commented May 5, 2021

Happened to myself: had a cast to Middleware<any> somewhere in the tests and suddenly all our dispatch were any, too. We should catch that.

@codesandbox-ci
Copy link

codesandbox-ci bot commented May 5, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 5f43d05:

Sandbox Source
Vanilla Configuration
Vanilla Typescript Configuration
rsk-github-issues-example Configuration

@netlify
Copy link

netlify bot commented May 5, 2021

Deploy preview for redux-starter-kit-docs ready!

Built with commit 5f43d05

https://deploy-preview-1041--redux-starter-kit-docs.netlify.app

@phryneas phryneas force-pushed the guard-dispatch-from-any branch 2 times, most recently from 0ed73f5 to 29ba8e0 Compare May 5, 2021 20:59
@phryneas
Copy link
Member Author

phryneas commented May 8, 2021

merging this after #1034 should also fix those type tests

@phryneas phryneas merged commit 860c61f into reduxjs:feature/v1.6-integration May 13, 2021
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