@@ -104,7 +104,7 @@ export class BaseActionViewItem extends Disposable implements IActionViewItem {
104104 return this . _action . enabled ;
105105 }
106106
107- setActionContext ( newContext : any ) : void {
107+ setActionContext ( newContext : unknown ) : void {
108108 this . _context = newContext ;
109109 }
110110
@@ -248,7 +248,7 @@ export class ActionViewItem extends BaseActionViewItem {
248248
249249 private cssClass ?: string ;
250250
251- constructor ( context : any , action : IAction , options : IActionViewItemOptions = { } ) {
251+ constructor ( context : unknown , action : IAction , options : IActionViewItemOptions = { } ) {
252252 super ( context , action , options ) ;
253253
254254 this . options = options ;
@@ -423,7 +423,7 @@ export class ActionBar extends Disposable implements IActionRunner {
423423 options : IActionBarOptions ;
424424
425425 private _actionRunner : IActionRunner ;
426- private _context : any ;
426+ private _context : unknown ;
427427
428428 // View Items
429429 viewItems : IActionViewItem [ ] ;
@@ -821,7 +821,7 @@ export class ActionBar extends Disposable implements IActionRunner {
821821 this . _onDidCancel . fire ( ) ;
822822 }
823823
824- run ( action : IAction , context ?: any ) : Promise < void > {
824+ run ( action : IAction , context ?: unknown ) : Promise < void > {
825825 return this . _actionRunner . run ( action , context ) ;
826826 }
827827
@@ -838,7 +838,7 @@ export class ActionBar extends Disposable implements IActionRunner {
838838export class SelectActionViewItem extends BaseActionViewItem {
839839 protected selectBox : SelectBox ;
840840
841- constructor ( ctx : any , action : IAction , options : ISelectOptionItem [ ] , selected : number , contextViewProvider : IContextViewProvider , selectBoxOptions ?: ISelectBoxOptions ) {
841+ constructor ( ctx : unknown , action : IAction , options : ISelectOptionItem [ ] , selected : number , contextViewProvider : IContextViewProvider , selectBoxOptions ?: ISelectBoxOptions ) {
842842 super ( ctx , action ) ;
843843
844844 this . selectBox = new SelectBox ( options , selected , contextViewProvider , undefined , selectBoxOptions ) ;
0 commit comments