From 9a3fa46c4298660f758f734de792f6ab2d098ac6 Mon Sep 17 00:00:00 2001 From: leejooy96 Date: Thu, 25 Apr 2024 09:02:34 +0900 Subject: [PATCH] mod: cleanup types --- src/main/IPCs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/IPCs.ts b/src/main/IPCs.ts index 2003de3..03f1d45 100644 --- a/src/main/IPCs.ts +++ b/src/main/IPCs.ts @@ -17,7 +17,7 @@ export default class IPCs { }) // Open file - ipcMain.handle('msgOpenFile', async (event, filter: string) => { + ipcMain.handle('msgOpenFile', async (event: IpcMainEvent, filter: string) => { const filters = [] if (filter === 'text') { filters.push({ name: 'Text', extensions: ['txt', 'json'] })