UNPKG

1.24 kBPlain TextView Raw
1// functions
2import { createStore, legacy_createStore } from './createStore'
3import combineReducers from './combineReducers'
4import bindActionCreators from './bindActionCreators'
5import applyMiddleware from './applyMiddleware'
6import compose from './compose'
7import isAction from './utils/isAction'
8import isPlainObject from './utils/isPlainObject'
9import __DO_NOT_USE__ActionTypes from './utils/actionTypes'
10
11// types
12// store
13export {
14 Dispatch,
15 Unsubscribe,
16 Observable,
17 Observer,
18 Store,
19 StoreCreator,
20 StoreEnhancer,
21 StoreEnhancerStoreCreator
22} from './types/store'
23// reducers
24export {
25 Reducer,
26 ReducersMapObject,
27 StateFromReducersMapObject,
28 ReducerFromReducersMapObject,
29 ActionFromReducer,
30 ActionFromReducersMapObject,
31 PreloadedStateShapeFromReducersMapObject
32} from './types/reducers'
33// action creators
34export { ActionCreator, ActionCreatorsMapObject } from './types/actions'
35// middleware
36export { MiddlewareAPI, Middleware } from './types/middleware'
37// actions
38export { Action, UnknownAction, AnyAction } from './types/actions'
39
40export {
41 createStore,
42 legacy_createStore,
43 combineReducers,
44 bindActionCreators,
45 applyMiddleware,
46 compose,
47 isAction,
48 isPlainObject,
49 __DO_NOT_USE__ActionTypes
50}