SIGN IN SIGN UP
pmndrs / zustand UNCLAIMED

🐻 Bear necessities for state management in React

0 0 40 TypeScript

fix(immer): Proper typing for immer middleware in combination with slices (#3371)

* Add generic type parameter U to Immer type

* Add a test for immer + sliced store typing

* Rename test case for clarity on slice type

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
M
Manuel Krebber committed
3871d5392400db9ca3cabf8c52fbef2b259a5a83
Parent: 9b505ac
Committed by GitHub <noreply@github.com> on 2/1/2026, 1:55:08 AM