Skip to content

Instantly share code, notes, and snippets.

@ngohungphuc
Created November 28, 2018 15:50
Show Gist options
  • Save ngohungphuc/7c19bc974ad2937e3bb8299402e37bc2 to your computer and use it in GitHub Desktop.
Save ngohungphuc/7c19bc974ad2937e3bb8299402e37bc2 to your computer and use it in GitHub Desktop.
import {Action} from '@ngrx/store';
export enum PortalActionTypes {
ADD_COMMENT = '[PORTAL] ADD_COMMENT'
}
export class AddComment implements Action {
readonly type = PortalActionTypes.ADD_COMMENT;
constructor(public payload: string) {}
}
export type PortalActionsUnion = AddComment;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment