JavaScript Intellisense Issues #1951
-
Follow up from #262 (comment) 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 For example: But creating this store: The results are the same for each scenario when wrapping the store with the Version: Zustand is imported like so (if it's helpful to know) import { create } from 'zustand'
import { persist } from 'zustand/middleware' Any suggestions? Thank you for this wonderful lib! 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Thanks for opening up a discussion. Just out of curiosity, does changing |
Beta Was this translation helpful? Give feedback.
-
Here's quite a verbose solution using JSDoc. |
Beta Was this translation helpful? Give feedback.
Here's quite a verbose solution using JSDoc.