-
-
Save quicksnap/527561b2fe0caa7ca1f61ebf9caa38cd 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
function isAction( | |
action: Action, | |
actionCreator: (...args: any[]) => T, | |
): action is T & Action { | |
return action.type === ???; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment