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

Remove deprecated type from withRouter #64

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JakeLane
Copy link
Collaborator

Fixing the flowtype for withRouter to remove implicit any, which fixes props not being checked on HOC.

https://github.com/flow-typed/flow-typed/blob/master/definitions/npm/react-router-dom_v5.x.x/flow_v0.98.x-v0.103.x/react-router-dom_v5.x.x.js#L155

Copy link
Collaborator

@jackbrown jackbrown left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants