fix typo
This commit is contained in:
parent
3764010d38
commit
90294d0664
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue