Created
February 5, 2020 16:31
-
-
Save r3dm1ke/8cc398c2878d52fb9afca10f1765b10c to your computer and use it in GitHub Desktop.
Redux TS readability example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // TODO: do this more elegantly | |
| ;((currentReducer as unknown) as Reducer< | |
| NewState, | |
| NewActions | |
| >) = nextReducer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment