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

fix import inside enhancers typescript test #3559

Merged

Conversation

cellog
Copy link
Contributor

@cellog cellog commented Sep 2, 2019

This is a subtle problem. If we import PreloadedState from ../../index, and createStore from redux, we end up with different versions of the declared $CombinedState symbol, and so the types never match.

Also, we should be consistent about always loading the types from our aliased redux

@timdorr
Copy link
Member

timdorr commented Sep 2, 2019

Should we be aliasing at all? I feel like direct linking would be better.

@timdorr timdorr merged commit dd6639a into reduxjs:ts-conversion Sep 2, 2019
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