Last active
June 3, 2018 20:28
-
-
Save wesleygrimes/51be65ebe6952234354a9f5c9329edae to your computer and use it in GitHub Desktop.
Standard Feature Module - State
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 { User } from '../../models'; | |
export interface State { | |
user: User | null; | |
isLoading: boolean; | |
error: string; | |
} | |
export const initialState: State = { | |
user: null, | |
isLoading: false, | |
error: null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment