Skip to content

Commit

Permalink
Fixed Argument of type '{ type: string; buttons: string[]; title: str…
Browse files Browse the repository at this point in the history
…ing; message: string; detail: string; }' is not assignable to parameter of type 'MessageBoxOptions'.
  • Loading branch information
dmatora committed Oct 11, 2023
1 parent 098a0d9 commit a7807b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/desktop-electron/src/app/events/update.events.ts
Expand Up @@ -33,7 +33,7 @@ autoUpdater.on(
'update-downloaded',
(event, releaseNotes, releaseName, releaseDate) => {
const dialogOpts = {
type: 'info',
type: 'info' as const,
buttons: ['Restart', 'Later'],
title: 'Application Update',
message: process.platform === 'win32' ? releaseNotes : releaseName,
Expand Down

0 comments on commit a7807b7

Please sign in to comment.