-
-
Save quicksnap/1615b60cf10d346a8d0a658cb935d32a to your computer and use it in GitHub Desktop.
This file contains 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
declare module 'redux' { | |
export interface Dispatch<S> { | |
// Allow us to dispatch actions without "type" key in the typings | |
// It still is present in the runtime object. | |
<A extends { payload: any }>(action: A): A; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment