From 4f6eb3eb856da1ed6813fc6fd6db72e77e56eba4 Mon Sep 17 00:00:00 2001 From: Milan Burda Date: Sun, 27 Mar 2016 16:27:23 +0200 Subject: [PATCH] Update to Electron 0.37.3 --- github-electron/github-electron.d.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/github-electron/github-electron.d.ts b/github-electron/github-electron.d.ts index 7ea5f335e2..1587a8420f 100644 --- a/github-electron/github-electron.d.ts +++ b/github-electron/github-electron.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Electron v0.37.2 +// Type definitions for Electron v0.37.3 // Project: http://electron.atom.io/ // Definitions by: jedmao , rhysd , Milan Burda // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -221,6 +221,10 @@ declare namespace Electron { * name by Electron. */ getName(): string; + /** + * Overrides the current application's name. + */ + setName(name: string): void; /** * @returns The current application locale. */ @@ -2118,6 +2122,12 @@ declare namespace Electron { * @returns string The data URL of the image. */ toDataURL(): string; + /** + * The native type of the handle is NSImage* on OS X. + * Note: This is only implemented on OS X. + * @returns The platform-specific handle of the image as Buffer. + */ + getNativeHandle(): Buffer; /** * @returns boolean Whether the image is empty. */