Remove type casting from TS files

Bug: none
Change-Id: I385831924e3c40ea054a486cf025975675b0733b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5574912
Reviewed-by: Alina Varkki <[email protected]>
Commit-Queue: Nikolay Vitkov <[email protected]>
diff --git a/front_end/ui/legacy/ActionRegistration.ts b/front_end/ui/legacy/ActionRegistration.ts
index e61a0b0..c1d88ab 100644
--- a/front_end/ui/legacy/ActionRegistration.ts
+++ b/front_end/ui/legacy/ActionRegistration.ts
@@ -99,7 +99,7 @@
 const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
 
 export interface ActionDelegate {
-  handleAction(_context: Context, _actionId: string): boolean;
+  handleAction(context: Context, actionId: string): boolean;
 }
 
 export class Action extends Common.ObjectWrapper.ObjectWrapper<EventTypes> {