I imported the module like this
import { createPersistedState, createSharedMutations } from "vuex-electron"
and got the error:
5:61 Could not find a declaration file for module 'vuex-electron'. 'C:/Users/pasca/Projects/time-manager/node_modules/vuex-electron/dist/index.js' implicitly has an 'any' type.
Try `npm install @types/vuex-electron` if it exists or add a new declaration (.d.ts) file containing `declare module 'vuex-electron';`
I kinda fixed it with adding a index.d.ts file in the modules containing declare module 'vuex-electron'; but im getting a
Module not found: Error: Can't resolve 'worker_threads' in 'C:\Users\pasca\Projects\time-manager\node_modules\write-file-atomic' error now
I imported the module like this
import { createPersistedState, createSharedMutations } from "vuex-electron"
and got the error:
I kinda fixed it with adding a index.d.ts file in the modules containing
declare module 'vuex-electron';
but im getting aModule not found: Error: Can't resolve 'worker_threads' in 'C:\Users\pasca\Projects\time-manager\node_modules\write-file-atomic'
error now