Merge pull request #247 from electron-userland/update-typescript-definition

Update electron.d.ts for 1.6.9
This commit is contained in:
Kevin Sawicki 2017-05-10 09:37:50 -07:00 committed by GitHub
commit 878b7e373f

4
npm/electron.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for Electron 1.6.8
// Type definitions for Electron 1.6.9
// Project: http://electron.atom.io/
// Definitions by: The Electron Team <https://github.com/electron/electron>
// Definitions: https://github.com/electron/electron-typescript-definitions
@ -2333,7 +2333,7 @@ declare namespace Electron {
* Note: The following methods are useful specifically to resume a cancelled item
* when session is restarted.
*/
getState(): string;
getState(): ('progressing' | 'completed' | 'cancelled' | 'interrupted');
/**
* If the size is unknown, it returns 0.
*/