mod: cleanup types
This commit is contained in:
1 parent
94998482ff
commit
9a3fa46c42
1 file changed
+1
-1
+1
-1
@@ -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'] })
|
||||
|
||||
Reference in new issue
Block a user