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
@dai-shi apologies for bumping a really old issue but I've noticed a small bug that might be related and wasn't sure if I should open a new issue or if I'm doing something incorrectly.
I have an older project I wrote in JS and is just a little too tedious to port entirely to TS, and I noticed that the intellisense doesn't seem to work when set and get (or only set) arguments are used when creating the store.
For example:
Creating this store:
Results in this intellisense:
But creating this store:
Results in no intellisense:
The results are the same for each scenario when wrapping the store with the persist middleware.
Version: "zustand": "^4.3.9"
Zustand is imported like so (if it's helpful to know)
from: #248 (comment)
This is an issue to track the titled issue.
(I hope this will be resolved when TypeScript supports "exports" in package.json.)
The text was updated successfully, but these errors were encountered: