overflow_app/src/ts/index.tsx

33 lines
575 B
TypeScript
Raw Normal View History

2017-06-23 12:04:22 +00:00
import * as member from 'member/redux';
import { Action, createStore, combineReducers } from 'redux';
export interface StateRecord {
member: member.StateRecord;
}
export interface IActionTypes {
member: member.IActionTypes;
}
export const ActionTypes: IActionTypes = {
member: member.ActionTypes,
};
export interface IActions {
member: member.IActions;
2017-06-21 11:24:44 +00:00
}
2017-06-23 12:04:22 +00:00
export const Actions: IActions = {
member: member.Actions,
};
export const Reducers = combineReducers<StateRecord>({
member: member.Reducers,
});
let store = createStore(Reducers);
2017-06-21 11:24:44 +00:00
2017-06-23 12:04:22 +00:00
console.log('');