Last active
December 20, 2018 14:13
-
-
Save darrenmothersele/301b7d47ce9e27760cf8e13a465dc287 to your computer and use it in GitHub Desktop.
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
| import { Action } from '@ngrx/store'; | |
| export enum ActionTypes { | |
| Increment = '[Counter Component] Increment', | |
| Decrement = '[Counter Component] Decrement', | |
| Reset = '[Counter Component] Reset', | |
| } | |
| export class Increment implements Action { | |
| readonly type = ActionTypes.Increment; | |
| } | |
| export class Decrement implements Action { | |
| readonly type = ActionTypes.Decrement; | |
| } | |
| export class Reset implements Action { | |
| readonly type = ActionTypes.Reset; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment