Merge pull request #23 from samiulhsohan/main

fix: typo
This commit is contained in:
草鞋没号 2022-03-25 07:25:06 +08:00 committed by GitHub
commit dbabbcdbfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}