no more build errors, still issues with the selectors not returning anything

This commit is contained in:
Art Lowel
2017-07-27 15:12:50 +02:00
parent 49467397ff
commit 05626e2607
29 changed files with 225 additions and 227 deletions

View File

@@ -48,7 +48,7 @@ const initialState: ObjectCacheState = Object.create(null);
* @return ObjectCacheState
* the new state
*/
export const objectCacheReducer = (state = initialState, action: ObjectCacheAction): ObjectCacheState => {
export function objectCacheReducer(state = initialState, action: ObjectCacheAction): ObjectCacheState {
switch (action.type) {
case ObjectCacheActionTypes.ADD: {
@@ -67,7 +67,7 @@ export const objectCacheReducer = (state = initialState, action: ObjectCacheActi
return state;
}
}
};
}
/**
* Add an object to the cache