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
When using the latest version of create-vue with typescript 5 and vuex, we get an error.
src/store/index.ts - error TS7016: Could not find a declaration file for module 'vuex'.
'node_modules/vuex/dist/vuex.mjs' implicitly has an 'any' type.
There are types at 'node_modules/vuex/types/index.d.ts', but this result could not be resolved
when respecting package.json "exports". The 'vuex' library may need to update its package.json or typings.
There are quite a few issues about this on the Vuex repo, but nobody fixes it :
Hello,
When using the latest version of create-vue with typescript 5 and vuex, we get an error.
There are quite a few issues about this on the Vuex repo, but nobody fixes it :
moduleResolutions
nodenext
vuex#2213In the replies, users explain that Vuex is no longer maintained.
Given that Vuex is a Vue project, would it be possible to apply the fix?
vuejs/vuex#2219
vuejs/vuex#2220
Thanks in advance
Mathieu
The text was updated successfully, but these errors were encountered: