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
typeStoreType={isRainbow: boolean;unicorn?: string;};conststore=newStore()<StoreType>;
....ipcMain.on('ipc-example',async(event,key,val)=>{store.set(key,val);// Property 'set' does not exist on type 'ElectronStore<Record<string, unknown>>'});
Context
I'm unable to use electron-store in this project
Your Environment
Node version : 20.12.2
electron-react-boilerplate version or branch : amin TS template
Operating System and version : Ubuntu Linux 20.04
Link to your project :
The text was updated successfully, but these errors were encountered:
Prerequisites
main
branchDEBUG_PROD=true npm run build && npm start
Expected Behavior
When instantiating a new Store in main.ts , get and set method should be available.
Current Behavior
the only method available is store.openInEditor
Steps to Reproduce
1 - Install the boilerplate template for TS.
Part of my preload.ts:
This is the preload.d.ts:
Part of main.ts:
Context
I'm unable to use electron-store in this project
Your Environment
The text was updated successfully, but these errors were encountered: