Skip to content

Instantly share code, notes, and snippets.

@rainerhahnekamp
Last active August 23, 2021 12:47
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