2020-03-20 20:28:31 +00:00
|
|
|
declare let standardScheme: string;
|
2019-07-16 19:54:18 +00:00
|
|
|
|
|
|
|
declare namespace Electron {
|
|
|
|
interface Menu {
|
2020-04-02 23:07:56 +00:00
|
|
|
_executeCommand(event: any, id: number): void;
|
|
|
|
_menuWillShow(): void;
|
2019-07-16 19:54:18 +00:00
|
|
|
getAcceleratorTextAt(index: number): string;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface MenuItem {
|
|
|
|
getDefaultRoleAccelerator(): Accelerator | undefined;
|
|
|
|
}
|
2019-07-24 15:44:24 +00:00
|
|
|
|
|
|
|
interface WebContents {
|
|
|
|
getOwnerBrowserWindow(): BrowserWindow;
|
2019-08-30 00:45:41 +00:00
|
|
|
getWebPreferences(): any;
|
2019-07-24 15:44:24 +00:00
|
|
|
}
|
2019-08-27 07:37:30 +00:00
|
|
|
|
2019-08-27 21:55:19 +00:00
|
|
|
interface Session {
|
|
|
|
destroy(): void;
|
|
|
|
}
|
2019-07-16 19:54:18 +00:00
|
|
|
}
|
2019-08-28 20:54:50 +00:00
|
|
|
|
|
|
|
declare module 'dbus-native';
|