@@ -2589,7 +2589,7 @@ declare namespace Electron {
25892589 * is passed, the dialog will not block the process. The API call will be
25902590 * asynchronous and the result will be passed via callback(response).
25912591 */
2592- showMessageBox ( browserWindow : BrowserWindow | null , options : MessageBoxOptions , callback ?: ( response : number , checkboxChecked : boolean ) => void ) : number ;
2592+ showMessageBox ( browserWindow : BrowserWindow , options : MessageBoxOptions , callback ?: ( response : number , checkboxChecked : boolean ) => void ) : number ;
25932593 /**
25942594 * Shows a message box, it will block the process until the message box is closed.
25952595 * It returns the index of the clicked button. The browserWindow argument allows
@@ -2610,7 +2610,7 @@ declare namespace Electron {
26102610 * file selector and a directory selector, so if you set properties to ['openFile',
26112611 * 'openDirectory'] on these platforms, a directory selector will be shown.
26122612 */
2613- showOpenDialog ( browserWindow : BrowserWindow | null , options : OpenDialogOptions , callback ?: ( filePaths : string [ ] , bookmarks : string [ ] ) => void ) : string [ ] ;
2613+ showOpenDialog ( browserWindow : BrowserWindow , options : OpenDialogOptions , callback ?: ( filePaths : string [ ] , bookmarks : string [ ] ) => void ) : string [ ] ;
26142614 /**
26152615 * The browserWindow argument allows the dialog to attach itself to a parent
26162616 * window, making it modal. The filters specifies an array of file types that can
@@ -2631,7 +2631,7 @@ declare namespace Electron {
26312631 * the API call will be asynchronous and the result will be passed via
26322632 * callback(filename).
26332633 */
2634- showSaveDialog ( browserWindow : BrowserWindow | null , options : SaveDialogOptions , callback ?: ( filename : string , bookmark : string ) => void ) : string ;
2634+ showSaveDialog ( browserWindow : BrowserWindow , options : SaveDialogOptions , callback ?: ( filename : string , bookmark : string ) => void ) : string ;
26352635 /**
26362636 * The browserWindow argument allows the dialog to attach itself to a parent
26372637 * window, making it modal. The filters specifies an array of file types that can
0 commit comments