Skip to content

Instantly share code, notes, and snippets.

@Tecayehuatl
Last active August 1, 2023 02:36
Show Gist options
  • Save Tecayehuatl/6556f56ebe5ff6ad4430fa371a286e23 to your computer and use it in GitHub Desktop.
Save Tecayehuatl/6556f56ebe5ff6ad4430fa371a286e23 to your computer and use it in GitHub Desktop.
import { createAction, props } from '@ngrx/store';
export const login = createAction(
'[loginModule] log user Action',
props<{ usernamae: string; password: string }>()
);
export const loginSuccess = createAction(
'[loginModule] log user Success Action'
);
export const loginFail = createAction(
'[loginModule] log user Fail Action',
props<{ message: string }>()
);
@charlesribeiro
Copy link

Is there a typo in username here props<{ usernamae: string; password: string }>()?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment