Skip to content

Commit 5db6a1d

Browse files
committed
update type signature for update event from electron
1 parent 0f482e2 commit 5db6a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main-process/app-window.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export class AppWindow {
235235
registerWindowStateChangedEvents(this.window)
236236
this.window.loadURL(encodePathAsUrl(__dirname, 'index.html'))
237237

238-
nativeTheme.addListener('updated', (event: string, userInfo: any) => {
238+
nativeTheme.addListener('updated', () => {
239239
ipcWebContents.send(this.window.webContents, 'native-theme-updated')
240240
})
241241

0 commit comments

Comments
 (0)