diff --git a/src/main/IPCs.ts b/src/main/IPCs.ts index e62bd79..95b14c5 100644 --- a/src/main/IPCs.ts +++ b/src/main/IPCs.ts @@ -5,14 +5,14 @@ import Constants from './utils/Constants' * IPC Communications * */ export default class IPCs { - static initialize(window: BrowserWindow) { + static initialize(window: BrowserWindow): void { // Get application version ipcMain.on('msgRequestGetVersion', () => { window.webContents.send('msgReceivedVersion', Constants.APP_VERSION) }) // Open url via web browser - ipcMain.on('msgOpenExternalLink', async (event, url) => { + ipcMain.on('msgOpenExternalLink', async (event, url: string) => { await shell.openExternal(url) }) }