1 export default (initialState: { [key: string]: any } = {}) => {
2 let state = initialState;
4 const set = (key: string, data: any) => {
8 const get = (key: string) => state[key];
10 const remove = (key: string) => delete state[key];
21 getState: () => state,