File tree Expand file tree Collapse file tree
workbench/browser/parts/statusbar Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -746,11 +746,11 @@ export class CodeWindow extends Disposable implements ICodeWindow {
746746
747747 // Config (combination of process.argv and window configuration)
748748 const environment = parseArgs ( process . argv , OPTIONS ) ;
749- const config = Object . assign ( environment , windowConfiguration ) ;
749+ const config = Object . assign ( environment , windowConfiguration ) as unknown as { [ key : string ] : unknown } ;
750750 for ( const key in config ) {
751- const configValue = ( config as any ) [ key ] ;
751+ const configValue = config [ key ] ;
752752 if ( configValue === undefined || configValue === null || configValue === '' || configValue === false ) {
753- delete ( config as any ) [ key ] ; // only send over properties that have a true value
753+ delete config [ key ] ; // only send over properties that have a true value
754754 }
755755 }
756756
Original file line number Diff line number Diff line change @@ -703,7 +703,7 @@ class StatusbarEntryItem extends Disposable {
703703 if ( entry . tooltip ) {
704704 this . container . title = entry . tooltip ;
705705 } else {
706- delete this . container . title ;
706+ this . container . title = '' ;
707707 }
708708 }
709709
You can’t perform that action at this time.
0 commit comments