Skip to content

Instantly share code, notes, and snippets.

@rainerhahnekamp
Last active Aug 23, 2021
Embed
What would you like to do?
export interface State {
loadStatus: 'NOT_LOADED' | 'LOADING' | 'LOADED';
customers: Customer[];
}
const initialState = {
loadStatus: 'NOT_LOADED',
customers: []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment