mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
601 B
TypeScript
18 lines
601 B
TypeScript
// Type definitions for electron-debug v1.1.0
|
|
// Project: https://github.com/sindresorhus/electron-debug
|
|
// Definitions by: Daniel Perez Alvarez <https://github.com/unindented>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/**
|
|
* Install keyboard shortcuts and optionally activate DevTools on each
|
|
* created BrowserWindow.
|
|
*/
|
|
declare function electronDebug(options: {
|
|
/** Enable debug options. */
|
|
enabled?: boolean;
|
|
/** Show DevTools on each created BrowserWindow. */
|
|
showDevTools?: boolean | 'right' | 'bottom' | 'undocked';
|
|
}): void;
|
|
|
|
export = electronDebug;
|