@reduxjs/toolkit
Version:
The official, opinionated, batteries-included toolset for efficient Redux development
64 lines (62 loc) • 1.35 kB
text/typescript
export * from 'redux'
export { default as createNextState, Draft } from 'immer'
export { createSelector } from 'reselect'
export { ThunkAction } from 'redux-thunk'
export {
// js
configureStore,
// types
ConfigureEnhancersCallback,
ConfigureStoreOptions,
EnhancedStore
} from './configureStore'
export {
// js
createAction,
getType,
// types
PayloadAction,
PayloadActionCreator,
ActionCreatorWithNonInferrablePayload,
ActionCreatorWithOptionalPayload,
ActionCreatorWithPayload,
ActionCreatorWithoutPayload,
ActionCreatorWithPreparedPayload,
PrepareAction
} from './createAction'
export {
// js
createReducer,
// types
Actions,
CaseReducer,
CaseReducers
} from './createReducer'
export {
// js
createSlice,
// types
CreateSliceOptions,
Slice,
CaseReducerActions,
SliceCaseReducers,
ValidateSliceCaseReducers,
CaseReducerWithPrepare,
SliceActionCreator
} from './createSlice'
export {
// js
createSerializableStateInvariantMiddleware,
findNonSerializableValue,
isPlain,
// types
SerializableStateInvariantMiddlewareOptions
} from './serializableStateInvariantMiddleware'
export {
// js
getDefaultMiddleware
} from './getDefaultMiddleware'
export {
// types
ActionReducerMapBuilder
} from './mapBuilders'