Skip to content

Instantly share code, notes, and snippets.

@jplemieux66
Created May 6, 2018 17:06
Show Gist options
  • Save jplemieux66/7656ed7a6e779755c0b5c45622876d62 to your computer and use it in GitHub Desktop.
Save jplemieux66/7656ed7a6e779755c0b5c45622876d62 to your computer and use it in GitHub Desktop.
import { Action } from '@ngrx/store';
export const CHANGE_USER = '[User] Change User';
export class ChangeUser implements Action {
readonly type = CHANGE_USER;
constructor(public payload: number) {}
}
export type Actions = ChangeUser;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment