Files
DefinitelyTyped/github-electron/github-electron.power-save-blocker.d.ts
2016-03-26 01:56:48 +01:00

14 lines
390 B
TypeScript

// Type definitions for Electron v0.37.2
// Project: http://electron.atom.io/
// Definitions by: jedmao <https://github.com/jedmao/>, rhysd <https://rhysd.github.io>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace Electron {
interface PowerSaveBlocker {
start(type: string): number;
stop(id: number): void;
isStarted(id: number): boolean;
}
}