dva
Advanced tools
Comparing version 2.2.3 to 2.3.0
import { | ||
Reducer, | ||
Action, | ||
AnyAction, | ||
ReducersMapObject, | ||
@@ -37,3 +37,3 @@ Dispatch, | ||
export interface EffectsCommandMap { | ||
put: <A extends Action>(action: A) => any; | ||
put: <A extends AnyAction>(action: A) => any; | ||
call: Function; | ||
@@ -46,3 +46,3 @@ select: Function; | ||
export type Effect = (action: Action, effects: EffectsCommandMap) => void; | ||
export type Effect = (action: AnyAction, effects: EffectsCommandMap) => void; | ||
export type EffectType = 'takeEvery' | 'takeLatest' | 'watcher' | 'throttle'; | ||
@@ -49,0 +49,0 @@ export type EffectWithType = [Effect, { type : EffectType }]; |
{ | ||
"name": "dva", | ||
"version": "2.2.3", | ||
"version": "2.3.0", | ||
"description": "React and redux based, lightweight and elm-style framework.", | ||
@@ -33,3 +33,3 @@ "repository": { | ||
"@types/react-router-redux": "^5.0.13", | ||
"dva-core": "^1.2.1", | ||
"dva-core": "^1.3.0", | ||
"global": "^4.3.2", | ||
@@ -36,0 +36,0 @@ "history": "^4.6.3", |
import * as routerRedux from 'react-router-redux'; | ||
export * from 'react-router'; | ||
export * from 'react-router-dom'; | ||
export { routerRedux }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
910968
17962
Updateddva-core@^1.3.0