We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb0d989 commit d279396Copy full SHA for d279396
README.md
@@ -124,7 +124,7 @@ interface ActionsParamType = {
124
get: undefined
125
} // You only need to tag the type of params here !
126
127
-const model: NextModelType<StateType, ActionsParamType> = {
+const model: ModelType<StateType, ActionsParamType> = {
128
actions: {
129
increment: async (payload, { state }) => {
130
return {
@@ -831,7 +831,7 @@ const delayMiddleware: Middleware = async (context, restMiddlewares) => {
831
context.next(restMiddlewares)
832
}
833
834
-const nextCounterModel: NextModelType<CounterState, NextCounterActionParams> = {
+const nextCounterModel: ModelType<CounterState, NextCounterActionParams> = {
835
836
add: num => {
837
return state => {
0 commit comments