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

update connectRouter typing #169

Merged
merged 2 commits into from Nov 3, 2018
Merged

update connectRouter typing #169

merged 2 commits into from Nov 3, 2018

Conversation

dimitriirybakov
Copy link
Contributor

No description provided.

index.d.ts Outdated
@@ -67,7 +67,7 @@ declare module 'connected-react-router' {
> {}

export function connectRouter(history: History)
: <S>(reducer: Reducer<S>) => Reducer<S & { router: RouterState }>
: Reducer<{ router: RouterState }>
Copy link
Owner

Choose a reason for hiding this comment

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

It's independent to the router key now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, you're right. Fixed

Copy link
Owner

@supasate supasate left a comment

Choose a reason for hiding this comment

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

Nice catch. Please fix nit.

@supasate supasate merged commit 5d98643 into supasate:master Nov 3, 2018
@dimitriirybakov
Copy link
Contributor Author

@supasate could you release it?

@supasate
Copy link
Owner

supasate commented Nov 5, 2018

done.

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