This commit is contained in:
Samiul Haque Sohan committed 2022-03-24 19:44:11 +03:00
1 parent 3764010d38
commit 90294d0664
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ import Store from 'electron-store'
const store = new Store() const store = new Store()
ipcMain.handle( ipcMain.handle(
'electron-store', 'electron-store',
async (_evnet, methodSign: string, ...args: any[]) => { async (_event, methodSign: string, ...args: any[]) => {
if (typeof (store as any)[methodSign] === 'function') { if (typeof (store as any)[methodSign] === 'function') {
return (store as any)[methodSign](...args) return (store as any)[methodSign](...args)
} }