2019-03-10 22:38:44 +00:00
|
|
|
declare var isCI: boolean;
|
2019-07-16 19:54:18 +00:00
|
|
|
|
|
|
|
declare namespace Electron {
|
|
|
|
interface Menu {
|
|
|
|
delegate: {
|
|
|
|
executeCommand(menu: Menu, event: any, id: number): void;
|
|
|
|
menuWillShow(menu: Menu): void;
|
|
|
|
};
|
|
|
|
getAcceleratorTextAt(index: number): string;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface MenuItem {
|
|
|
|
getDefaultRoleAccelerator(): Accelerator | undefined;
|
|
|
|
}
|
2019-07-24 15:44:24 +00:00
|
|
|
|
|
|
|
interface WebContents {
|
|
|
|
getOwnerBrowserWindow(): BrowserWindow;
|
|
|
|
}
|
2019-07-16 19:54:18 +00:00
|
|
|
}
|