Skip to content

Commit d279396

Browse files
docs(typo): remove next type perfix (#128)
1 parent fb0d989 commit d279396

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ interface ActionsParamType = {
124124
get: undefined
125125
} // You only need to tag the type of params here !
126126

127-
const model: NextModelType<StateType, ActionsParamType> = {
127+
const model: ModelType<StateType, ActionsParamType> = {
128128
actions: {
129129
increment: async (payload, { state }) => {
130130
return {
@@ -831,7 +831,7 @@ const delayMiddleware: Middleware = async (context, restMiddlewares) => {
831831
context.next(restMiddlewares)
832832
}
833833

834-
const nextCounterModel: NextModelType<CounterState, NextCounterActionParams> = {
834+
const nextCounterModel: ModelType<CounterState, NextCounterActionParams> = {
835835
actions: {
836836
add: num => {
837837
return state => {

0 commit comments

Comments
 (0)