Replies: 2 comments 2 replies
-
I am also having the same issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
try |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Trying to use StateCreator with slices but have typescript errors.
type GeneralSlice = StateCreator<State, [["zustand/immer", never]], [], State>;
gives the error
typescript: Type '[["zustand/immer", never]]' does not satisfy the constraint '[never, unknown][]'. Type '["zustand/immer", never]' is not assignable to type '[never, unknown]'. Type at position 0 in source is not compatible with type at position 0 in target. Type 'string' is not assignable to type 'never'. [2344]
Can anyone let me know what I have done wrong?
cheers.
Beta Was this translation helpful? Give feedback.
All reactions