electron 1.8.7 → 1.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/electron.d.ts +4 -3
- package/package.json +1 -1
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 1.8.
|
|
1
|
+
// Type definitions for Electron 1.8.8
|
|
2
2
|
// Project: http://electron.atom.io/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/electron-typescript-definitions
|
|
@@ -1579,7 +1579,7 @@ declare namespace Electron {
|
|
|
1579
1579
|
* Sets a 16 x 16 pixel overlay onto the current taskbar icon, usually used to
|
|
1580
1580
|
* convey some sort of application status or to passively notify the user.
|
|
1581
1581
|
*/
|
|
1582
|
-
setOverlayIcon(overlay: NativeImage, description: string): void;
|
|
1582
|
+
setOverlayIcon(overlay: NativeImage | null, description: string): void;
|
|
1583
1583
|
/**
|
|
1584
1584
|
* Sets parent as current window's parent window, passing null will turn current
|
|
1585
1585
|
* window into a top-level window.
|
|
@@ -4425,7 +4425,7 @@ declare namespace Electron {
|
|
|
4425
4425
|
/**
|
|
4426
4426
|
* Sets the image associated with this tray icon when pressed on macOS.
|
|
4427
4427
|
*/
|
|
4428
|
-
setPressedImage(image: NativeImage): void;
|
|
4428
|
+
setPressedImage(image: NativeImage | string): void;
|
|
4429
4429
|
/**
|
|
4430
4430
|
* Sets the title displayed aside of the tray icon in the status bar.
|
|
4431
4431
|
*/
|
|
@@ -7900,6 +7900,7 @@ declare namespace Electron {
|
|
|
7900
7900
|
|
|
7901
7901
|
interface ResourceUsage {
|
|
7902
7902
|
images: MemoryUsageDetails;
|
|
7903
|
+
scripts: MemoryUsageDetails;
|
|
7903
7904
|
cssStyleSheets: MemoryUsageDetails;
|
|
7904
7905
|
xslStyleSheets: MemoryUsageDetails;
|
|
7905
7906
|
fonts: MemoryUsageDetails;
|
package/package.json
CHANGED