@@ -130,7 +130,7 @@ export class CodeApplication {
130130 const isValidWebviewSource = ( source : string ) =>
131131 ! source || ( URI . parse ( source . toLowerCase ( ) ) . toString ( ) as any ) . startsWith ( URI . file ( this . environmentService . appRoot . toLowerCase ( ) ) . toString ( ) ) ;
132132
133- app . on ( 'web-contents-created' , ( event , contents ) => {
133+ app . on ( 'web-contents-created' , ( _event : any , contents ) => {
134134 contents . on ( 'will-attach-webview' , ( event : Electron . Event , webPreferences , params ) => {
135135 delete webPreferences . preload ;
136136 webPreferences . nodeIntegration = false ;
@@ -185,19 +185,19 @@ export class CodeApplication {
185185 this . windowsMainService . openNewWindow ( OpenContext . DESKTOP ) ; //macOS native tab "+" button
186186 } ) ;
187187
188- ipc . on ( 'vscode:exit' , ( event , code : number ) => {
188+ ipc . on ( 'vscode:exit' , ( _event : any , code : number ) => {
189189 this . logService . log ( 'IPC#vscode:exit' , code ) ;
190190
191191 this . dispose ( ) ;
192192 this . lifecycleService . kill ( code ) ;
193193 } ) ;
194194
195- ipc . on ( machineIdIpcChannel , ( event , machineId : string ) => {
195+ ipc . on ( machineIdIpcChannel , ( _event : any , machineId : string ) => {
196196 this . logService . log ( 'IPC#vscode-machineId' ) ;
197197 this . storageService . setItem ( machineIdStorageKey , machineId ) ;
198198 } ) ;
199199
200- ipc . on ( 'vscode:fetchShellEnv' , ( event , windowId ) => {
200+ ipc . on ( 'vscode:fetchShellEnv' , ( _event : any , windowId : number ) => {
201201 const { webContents } = BrowserWindow . fromId ( windowId ) ;
202202 getShellEnvironment ( ) . then ( shellEnv => {
203203 if ( ! webContents . isDestroyed ( ) ) {
@@ -212,7 +212,7 @@ export class CodeApplication {
212212 } ) ;
213213 } ) ;
214214
215- ipc . on ( 'vscode:broadcast' , ( event , windowId : number , broadcast : { channel : string ; payload : any ; } ) => {
215+ ipc . on ( 'vscode:broadcast' , ( _event : any , windowId : number , broadcast : { channel : string ; payload : any ; } ) => {
216216 if ( this . windowsMainService && broadcast . channel && ! isUndefinedOrNull ( broadcast . payload ) ) {
217217 this . logService . log ( 'IPC#vscode:broadcast' , broadcast . channel , broadcast . payload ) ;
218218
0 commit comments