Last active
June 12, 2019 10:50
-
-
Save panvourtsis/de778ce5264a38540c1fa63449089df5 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
export const SET_USER_TOKEN = 'SET_USER_TOKEN'; | |
export interface SetUserTokenAction { | |
type: typeof SET_USER_TOKEN; | |
payload: string; | |
} | |
export type UserActionTypes = | |
| SetUserTokenAction | |
| ActionB // other action | |
| ActionC; // other action | |
export interface User { | |
id: number | null; | |
name: string; | |
email: string; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment