Slice pattern type issue? #2806
-
Hello guys! I'm new to Zustand and currently trying to implement a slice pattern with TypeScript. However, I'm encountering a type error when attempting to combine multiple slices into a single store. Problem NOTE!: I combined the types of two slices together for CompanyStore
Code Snippet Company Store Setup:
COMPANY PROFILE SLICE
COMPANY CREATE NEW JOB SLICE
How can I resolve this type error? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@frontendjulien as far as I can see some types are missing, types for devtools, subscribeWithSelector, and persist |
Beta Was this translation helpful? Give feedback.
@frontendjulien as far as I can see some types are missing, types for devtools, subscribeWithSelector, and persist