80e5007c47
* chore: tsify browser-window * fix focus * also tsify top-level-window
24 lines
488 B
TypeScript
24 lines
488 B
TypeScript
declare let standardScheme: string;
|
|
|
|
declare namespace Electron {
|
|
interface Menu {
|
|
_executeCommand(event: any, id: number): void;
|
|
_menuWillShow(): void;
|
|
getAcceleratorTextAt(index: number): string;
|
|
}
|
|
|
|
interface MenuItem {
|
|
getDefaultRoleAccelerator(): Accelerator | undefined;
|
|
}
|
|
|
|
interface WebContents {
|
|
getOwnerBrowserWindow(): BrowserWindow;
|
|
getWebPreferences(): any;
|
|
}
|
|
|
|
interface Session {
|
|
destroy(): void;
|
|
}
|
|
}
|
|
|
|
declare module 'dbus-native';
|