You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to get this working with a Typescript React project I am working on, but I'm getting an incomprehensible type error and it's keeping me from successfully configuring this.
I pulled your example code from the README into my local VS Code after installing 0.4.0. Here is the error I'm seeing in the IDE:
So the two important parts seem to be Types of parameters '$$storeMutations' and '$$storeMutations' are incompatible. and the last Type '[]' provides no match for the signature .... section. I just lack the skill to be able to discern what is wrong and what must be changed.
I tried looking for a @types/zustand-persist thinking my type definitions were old but no such package exists.
Hi, I am trying to get this working with a Typescript React project I am working on, but I'm getting an incomprehensible type error and it's keeping me from successfully configuring this.
I pulled your example code from the README into my local VS Code after installing
0.4.0
. Here is the error I'm seeing in the IDE:So the two important parts seem to be
Types of parameters '$$storeMutations' and '$$storeMutations' are incompatible.
and the lastType '[]' provides no match for the signature ....
section. I just lack the skill to be able to discern what is wrong and what must be changed.I tried looking for a
@types/zustand-persist
thinking my type definitions were old but no such package exists.Here are my deps in case it's helpful:
Could it be that this version not compatible with the latest Zustand? Thanks.
The text was updated successfully, but these errors were encountered: