Created
September 19, 2019 03:53
-
-
Save carlrip/d749c7dac6307560a9473998a64bbe2a to your computer and use it in GitHub Desktop.
Reset type
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
type Reset = { | |
type: "reset"; | |
to: number; | |
}; | |
type Actions = Increment | Decrement | Reset; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment