Skip to content
Snippets Groups Projects
core.reducers.ts 327 B
Newer Older
import { combineReducers } from "@ngrx/store";
Art Lowel's avatar
Art Lowel committed
import { CacheState, cacheReducer } from "./cache/cache.reducers";

export interface CoreState {
  cache: cacheReducer
};

export function coreReducer(state: any, action: any) {
  return combineReducers(reducers)(state, action);
}