UNPKG

@harmowatch/ngx-redux-core

Version:

[![Join the chat at https://gitter.im/harmowatch/ngx-redux-core](https://badges.gitter.im/harmowatch/ngx-redux-core.svg)](https://gitter.im/harmowatch/ngx-redux-core?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

11 lines (10 loc) 536 B
import { Reducer } from 'redux'; import { ReduxStateProvider } from './redux-state.provider'; import { ReduxRootState } from '../interfaces/redux-root-state.interface'; import { ReduxActionWithPayload } from '../interfaces/redux-action-with-payload.interface'; export declare class ReduxReducerProvider { private stateProviders; readonly rootReducer: Reducer<ReduxRootState>; addStateProvider(provider: ReduxStateProvider): void; reduce(rootState: ReduxRootState, action: ReduxActionWithPayload<any>): ReduxRootState; }