Infer Zustand store types with persist and immer middleware #2802
Replies: 1 comment
-
Going to use zustand-slices |
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 have a pretty large store and so far I've written the types for every slice. I'm wondering if there is a way to infer the types of the store/slices?
Here is my store hook:
And one of the slices:
Beta Was this translation helpful? Give feedback.
All reactions