Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@fxck
Last active September 12, 2018 09:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fxck/84f7bf3d74e8b353a048ac11e331c8af to your computer and use it in GitHub Desktop.
Save fxck/84f7bf3d74e8b353a048ac11e331c8af to your computer and use it in GitHub Desktop.
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