Created
November 28, 2018 15:50
-
-
Save ngohungphuc/7c19bc974ad2937e3bb8299402e37bc2 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 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