exportinterfaceIElectronMainServiceextendsAddFirstParameterToFunctions<IElectronService,Promise<any>/* only methods, not events */,number/* window ID */>{}
exportinterfaceIElectronMainServiceextendsAddFirstParameterToFunctions<IElectronService,Promise<any>/* only methods, not events */,number|undefined/* window ID */>{}
!!BrowserWindow.getFocusedWindow()||// allow to quit when window has focus (fix for https://github.com/Microsoft/vscode/issues/39191)
this.windowsMainService.getLastActiveWindow()!.isMinimized()// allow to quit when window has no focus but is minimized (https://github.com/Microsoft/vscode/issues/63000)