Last active
August 1, 2023 02:36
-
-
Save Tecayehuatl/6556f56ebe5ff6ad4430fa371a286e23 to your computer and use it in GitHub Desktop.
This file contains 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 { 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 }>() | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a typo in username here
props<{ usernamae: string; password: string }>()
?