mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Add type definition for autoUpdater.quitAndInstall() to github-electron
This commit is contained in:
Vendored
+5
@@ -1186,6 +1186,11 @@ declare module Electron {
|
||||
* before using this API
|
||||
*/
|
||||
checkForUpdates(): any;
|
||||
/**
|
||||
* Restarts the app and installs the update after it has been downloaded.
|
||||
* It should only be called after update-downloaded has been emitted.
|
||||
*/
|
||||
quitAndInstall(): any;
|
||||
}
|
||||
|
||||
module Dialog {
|
||||
|
||||
Reference in New Issue
Block a user