Skip to content

Instantly share code, notes, and snippets.

@alex-okrushko
Created April 2, 2019 20:15
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 alex-okrushko/d5724ec527d731d361e492e11fb5f485 to your computer and use it in GitHub Desktop.
Save alex-okrushko/d5724ec527d731d361e492e11fb5f485 to your computer and use it in GitHub Desktop.
export enum ActionTypes {
Login = '[Login Page] Login',
}
export class Login implements Action {
readonly type = ActionTypes.Login;
constructor(public payload: { username: string; password: string }) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment