Skip to content

Instantly share code, notes, and snippets.

@jplemieux66
Created June 12, 2018 23:02
Show Gist options
  • Save jplemieux66/9bcfeaf8faef7e7f3c1feff0768c632a to your computer and use it in GitHub Desktop.
Save jplemieux66/9bcfeaf8faef7e7f3c1feff0768c632a to your computer and use it in GitHub Desktop.
import { ProjectsDetails } from '../../../shared/model/user-projects-details';
export interface State extends ProjectsDetails { }
export const initialState: State = {
projects: [],
projectsUsers: [],
timeEntries: [],
};
export const getProjects = (state: State) => state.projects;
export const getProjectsUsers = (state: State) => state.projectsUsers;
export const getTimeEntries = (state: State) => state.timeEntries;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment