Last active
September 12, 2018 09:37
-
-
Save fxck/84f7bf3d74e8b353a048ac11e331c8af 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
export enum ActionTypes { | |
Add = '[@my/loading] Add', | |
Remove = '[@my/loading] Remove' | |
} | |
export class Add { | |
readonly type = ActionTypes.Add; | |
constructor(public payload: string) { } | |
} | |
export class Remove { | |
readonly type = ActionTypes.Remove; | |
constructor(public payload: string) {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment