This commit is contained in:
50
frontend/node_modules/redux/src/index.ts
generated
vendored
Normal file
50
frontend/node_modules/redux/src/index.ts
generated
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
// functions
|
||||
import { createStore, legacy_createStore } from './createStore'
|
||||
import combineReducers from './combineReducers'
|
||||
import bindActionCreators from './bindActionCreators'
|
||||
import applyMiddleware from './applyMiddleware'
|
||||
import compose from './compose'
|
||||
import isAction from './utils/isAction'
|
||||
import isPlainObject from './utils/isPlainObject'
|
||||
import __DO_NOT_USE__ActionTypes from './utils/actionTypes'
|
||||
|
||||
// types
|
||||
// store
|
||||
export {
|
||||
Dispatch,
|
||||
Unsubscribe,
|
||||
Observable,
|
||||
Observer,
|
||||
Store,
|
||||
StoreCreator,
|
||||
StoreEnhancer,
|
||||
StoreEnhancerStoreCreator
|
||||
} from './types/store'
|
||||
// reducers
|
||||
export {
|
||||
Reducer,
|
||||
ReducersMapObject,
|
||||
StateFromReducersMapObject,
|
||||
ReducerFromReducersMapObject,
|
||||
ActionFromReducer,
|
||||
ActionFromReducersMapObject,
|
||||
PreloadedStateShapeFromReducersMapObject
|
||||
} from './types/reducers'
|
||||
// action creators
|
||||
export { ActionCreator, ActionCreatorsMapObject } from './types/actions'
|
||||
// middleware
|
||||
export { MiddlewareAPI, Middleware } from './types/middleware'
|
||||
// actions
|
||||
export { Action, UnknownAction, AnyAction } from './types/actions'
|
||||
|
||||
export {
|
||||
createStore,
|
||||
legacy_createStore,
|
||||
combineReducers,
|
||||
bindActionCreators,
|
||||
applyMiddleware,
|
||||
compose,
|
||||
isAction,
|
||||
isPlainObject,
|
||||
__DO_NOT_USE__ActionTypes
|
||||
}
|
||||
Reference in New Issue
Block a user