@@ -8,7 +8,7 @@ import { IWindowsMainService, ICodeWindow } from 'vs/platform/windows/electron-m
88import { MessageBoxOptions , MessageBoxReturnValue , shell , OpenDevToolsOptions , SaveDialogOptions , SaveDialogReturnValue , OpenDialogOptions , OpenDialogReturnValue , CrashReporterStartOptions , crashReporter , Menu , BrowserWindow , app , clipboard } from 'electron' ;
99import { OpenContext } from 'vs/platform/windows/node/window' ;
1010import { ILifecycleMainService } from 'vs/platform/lifecycle/electron-main/lifecycleMainService' ;
11- import { IOpenedWindow , INativeOpenWindowOptions , IWindowOpenable , IOpenEmptyWindowOptions } from 'vs/platform/windows/common/windows' ;
11+ import { IOpenedWindow , IOpenWindowOptions , IWindowOpenable , IOpenEmptyWindowOptions } from 'vs/platform/windows/common/windows' ;
1212import { INativeOpenDialogOptions } from 'vs/platform/dialogs/common/dialogs' ;
1313import { isMacintosh } from 'vs/base/common/platform' ;
1414import { ICommonElectronService } from 'vs/platform/electron/common/electron' ;
@@ -91,16 +91,16 @@ export class ElectronMainService implements IElectronMainService {
9191 }
9292
9393 openWindow ( windowId : number | undefined , options ?: IOpenEmptyWindowOptions ) : Promise < void > ;
94- openWindow ( windowId : number | undefined , toOpen : IWindowOpenable [ ] , options ?: INativeOpenWindowOptions ) : Promise < void > ;
95- openWindow ( windowId : number | undefined , arg1 ?: IOpenEmptyWindowOptions | IWindowOpenable [ ] , arg2 ?: INativeOpenWindowOptions ) : Promise < void > {
94+ openWindow ( windowId : number | undefined , toOpen : IWindowOpenable [ ] , options ?: IOpenWindowOptions ) : Promise < void > ;
95+ openWindow ( windowId : number | undefined , arg1 ?: IOpenEmptyWindowOptions | IWindowOpenable [ ] , arg2 ?: IOpenWindowOptions ) : Promise < void > {
9696 if ( Array . isArray ( arg1 ) ) {
9797 return this . doOpenWindow ( windowId , arg1 , arg2 ) ;
9898 }
9999
100100 return this . doOpenEmptyWindow ( windowId , arg1 ) ;
101101 }
102102
103- private async doOpenWindow ( windowId : number | undefined , toOpen : IWindowOpenable [ ] , options : INativeOpenWindowOptions = Object . create ( null ) ) : Promise < void > {
103+ private async doOpenWindow ( windowId : number | undefined , toOpen : IWindowOpenable [ ] , options : IOpenWindowOptions = Object . create ( null ) ) : Promise < void > {
104104 if ( toOpen . length > 0 ) {
105105 this . windowsMainService . open ( {
106106 context : OpenContext . API ,
0 commit comments