Skip to content

Instantly share code, notes, and snippets.

@alex-okrushko
Created December 13, 2018 04:15
Show Gist options
  • Select an option

  • Save alex-okrushko/18291518482cf3b37c220efa6b40ce50 to your computer and use it in GitHub Desktop.

Select an option

Save alex-okrushko/18291518482cf3b37c220efa6b40ce50 to your computer and use it in GitHub Desktop.
@Effect()
handleAddCommentError: Observable<Action> = this.actions.pipe(
ofType(actions.ADD_COMMENT_ERROR),
map(({payload}) => new actions.ShowAddCommentDialog(payload)),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment