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

convert combineReducers test to typescript #3508

Merged

Conversation

cellog
Copy link
Contributor

@cellog cellog commented Aug 16, 2019

This PR converts the combineReducers test to typescript. The changes are mostly typing of parameters, but also requires 2 major additions to the typings. The first is export of __DO_NOT_USE__ActionTypes and the second is a change to the definition of replaceReducers which also requires a small change to createStore

The change to createStore is duplicated in PR #3507, which is against master, whereas this PR is against ts-conversion

@timdorr timdorr force-pushed the cellog-3500-combineReducers.spec.ts branch from 3b87f60 to c2df829 Compare August 16, 2019 16:07
@timdorr
Copy link
Member

timdorr commented Aug 16, 2019

I'm fine with adding the __DO_NOT_USE to the types temporarily. That'll just go in the src files whenever we move the typedefs inline.

@timdorr timdorr merged commit 9a62a31 into reduxjs:ts-conversion Aug 16, 2019
@cellog cellog deleted the cellog-3500-combineReducers.spec.ts branch August 18, 2019 16:26
webMasterMrBin pushed a commit to webMasterMrBin/redux that referenced this pull request Aug 21, 2021
webMasterMrBin pushed a commit to webMasterMrBin/redux that referenced this pull request Aug 21, 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.

2 participants