From 90294d0664263a1c997f4f66878f17d4f005fb15 Mon Sep 17 00:00:00 2001 From: Samiul Haque Sohan Date: Thu, 24 Mar 2022 19:44:11 +0300 Subject: [PATCH] fix typo --- packages/main/samples/electron-store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/main/samples/electron-store.ts b/packages/main/samples/electron-store.ts index 71d052e..cb64102 100644 --- a/packages/main/samples/electron-store.ts +++ b/packages/main/samples/electron-store.ts @@ -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) }