Merge pull request #247 from electron-userland/update-typescript-definition
Update electron.d.ts for 1.6.9
This commit is contained in:
commit
878b7e373f
1 changed files with 2 additions and 2 deletions
4
npm/electron.d.ts
vendored
4
npm/electron.d.ts
vendored
|
@ -1,4 +1,4 @@
|
||||||
// Type definitions for Electron 1.6.8
|
// Type definitions for Electron 1.6.9
|
||||||
// Project: http://electron.atom.io/
|
// Project: http://electron.atom.io/
|
||||||
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
||||||
// Definitions: https://github.com/electron/electron-typescript-definitions
|
// 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
|
* Note: The following methods are useful specifically to resume a cancelled item
|
||||||
* when session is restarted.
|
* when session is restarted.
|
||||||
*/
|
*/
|
||||||
getState(): string;
|
getState(): ('progressing' | 'completed' | 'cancelled' | 'interrupted');
|
||||||
/**
|
/**
|
||||||
* If the size is unknown, it returns 0.
|
* If the size is unknown, it returns 0.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue