fix typo
This commit is contained in:
1 parent
3764010d38
commit
90294d0664
1 file changed
+1
-1
@@ -10,7 +10,7 @@ import Store from 'electron-store'
|
||||
const store = new Store()
|
||||
ipcMain.handle(
|
||||
'electron-store',
|
||||
async (_evnet, methodSign: string, ...args: any[]) => {
|
||||
async (_event, methodSign: string, ...args: any[]) => {
|
||||
if (typeof (store as any)[methodSign] === 'function') {
|
||||
return (store as any)[methodSign](...args)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user