middleware foo from documentation stop working #2422
Unanswered
gayratv
asked this question in
Bug report
Replies: 3 comments 1 reply
-
I'm insert react.ts and vanilla.ts from zustand to my local project and problem was gone. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I try 4.5.0 - same effect |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hmm, I think we need to know what is changed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm studying the manual
docs/guides//typescript.md
Middleware that changes the store type:
zustand/docs/guides/typescript.md
Line 286 in 08fd864
copy code from manual to TS playground :
TS playground link
and see error:
TS Playground show that StoreMutators declared as interface StoreMutators<S, A, S, A>
Yesterday this code was worked.
Webstorm alsso generate same error in project
May be you have some ideas?
Beta Was this translation helpful? Give feedback.
All reactions