@@ -432,7 +432,7 @@ declare namespace Electron {
432432 dock : Dock ;
433433 }
434434
435- type AppPathName = 'home' | 'appData' | 'userData' | 'temp' | 'exe' | 'module' | 'desktop' | 'documents' | 'downloads' | 'music' | 'pictures' | 'videos' | 'pepperFlashSystemPlugin' ;
435+ type AppPathName = 'home' | 'appData' | 'userData' | 'temp' | 'exe' | 'module' | 'desktop' | 'documents' | 'downloads' | 'music' | 'pictures' | 'videos' | 'pepperFlashSystemPlugin' ;
436436
437437 interface ImportCertificateOptions {
438438 /**
@@ -1653,7 +1653,7 @@ declare namespace Electron {
16531653 /**
16541654 * The window icon, when omitted on Windows the executable’s icon would be used as window icon.
16551655 */
1656- icon ?: NativeImage | string ;
1656+ icon ?: NativeImage | string ;
16571657 /**
16581658 * Whether window should be shown when created.
16591659 * Default: true.
@@ -1982,7 +1982,7 @@ declare namespace Electron {
19821982 * An object you can define that will be sent along with the report.
19831983 * Only string properties are sent correctly, nested objects are not supported.
19841984 */
1985- extra ?: { [ prop : string ] : string } ;
1985+ extra ?: { [ prop : string ] : string } ;
19861986 }
19871987
19881988 interface CrashReport {
@@ -2478,7 +2478,7 @@ declare namespace Electron {
24782478 * In Electron for the APIs that take images, you can pass either file paths
24792479 * or NativeImage instances. When passing null, an empty image will be used.
24802480 */
2481- icon ?: NativeImage | string ;
2481+ icon ?: NativeImage | string ;
24822482 /**
24832483 * If false, the menu item will be greyed out and unclickable.
24842484 */
@@ -2495,7 +2495,7 @@ declare namespace Electron {
24952495 * Should be specified for submenu type menu item, when it's specified the
24962496 * type: 'submenu' can be omitted for the menu item
24972497 */
2498- submenu ?: Menu | MenuItemOptions [ ] ;
2498+ submenu ?: Menu | MenuItemOptions [ ] ;
24992499 /**
25002500 * Unique within a single menu. If defined then it can be used as a reference
25012501 * to this item by the position attribute.
@@ -3620,15 +3620,15 @@ declare namespace Electron {
36203620 /**
36213621 * Creates a new tray icon associated with the image.
36223622 */
3623- new ( image : NativeImage | string ) : Tray ;
3623+ new ( image : NativeImage | string ) : Tray ;
36243624 /**
36253625 * Destroys the tray icon immediately.
36263626 */
36273627 destroy ( ) : void ;
36283628 /**
36293629 * Sets the image associated with this tray icon.
36303630 */
3631- setImage ( image : NativeImage | string ) : void ;
3631+ setImage ( image : NativeImage | string ) : void ;
36323632 /**
36333633 * Sets the image associated with this tray icon when pressed.
36343634 */
@@ -4440,7 +4440,7 @@ declare namespace Electron {
44404440 */
44414441 type StopFindInPageAtion = 'clearSelection' | 'keepSelection' | 'activateSelection' ;
44424442
4443- type CursorType = 'default' | 'crosshair' | 'pointer' | 'text' | 'wait' | 'help' | 'e-resize' | 'n-resize' | 'ne-resize' | 'nw-resize' | 's-resize' | 'se-resize' | 'sw-resize' | 'w-resize' | 'ns-resize' | 'ew-resize' | 'nesw-resize' | 'nwse-resize' | 'col-resize' | 'row-resize' | 'm-panning' | 'e-panning' | 'n-panning' | 'ne-panning' | 'nw-panning' | 's-panning' | 'se-panning' | 'sw-panning' | 'w-panning' | 'move' | 'vertical-text' | 'cell' | 'context-menu' | 'alias' | 'progress' | 'nodrop' | 'copy' | 'none' | 'not-allowed' | 'zoom-in' | 'zoom-out' | 'grab' | 'grabbing' | 'custom' ;
4443+ type CursorType = 'default' | 'crosshair' | 'pointer' | 'text' | 'wait' | 'help' | 'e-resize' | 'n-resize' | 'ne-resize' | 'nw-resize' | 's-resize' | 'se-resize' | 'sw-resize' | 'w-resize' | 'ns-resize' | 'ew-resize' | 'nesw-resize' | 'nwse-resize' | 'col-resize' | 'row-resize' | 'm-panning' | 'e-panning' | 'n-panning' | 'ne-panning' | 'nw-panning' | 's-panning' | 'se-panning' | 'sw-panning' | 'w-panning' | 'move' | 'vertical-text' | 'cell' | 'context-menu' | 'alias' | 'progress' | 'nodrop' | 'copy' | 'none' | 'not-allowed' | 'zoom-in' | 'zoom-out' | 'grab' | 'grabbing' | 'custom' ;
44444444
44454445 interface LoadURLOptions {
44464446 /**
@@ -5256,23 +5256,23 @@ declare namespace Electron {
52565256 namespace WebViewElement {
52575257 type Event = ElectronPrivate . GlobalEvent ;
52585258
5259- interface LoadCommitEvent extends Event {
5259+ interface LoadCommitEvent extends Event {
52605260 url : string ;
52615261 isMainFrame : boolean ;
52625262 }
52635263
5264- interface DidFailLoadEvent extends Event {
5264+ interface DidFailLoadEvent extends Event {
52655265 errorCode : number ;
52665266 errorDescription : string ;
52675267 validatedURL : string ;
52685268 isMainFrame : boolean ;
52695269 }
52705270
5271- interface DidFrameFinishLoadEvent extends Event {
5271+ interface DidFrameFinishLoadEvent extends Event {
52725272 isMainFrame : boolean ;
52735273 }
52745274
5275- interface DidGetResponseDetails extends Event {
5275+ interface DidGetResponseDetails extends Event {
52765276 status : boolean ;
52775277 newURL : string ;
52785278 originalURL : string ;
0 commit comments