commit | b31abae4fac130b0fd4197a0cd0e5980eb9f3a96 | [log] [tgz] |
---|---|---|
author | Nikolay Vitkov <[email protected]> | Tue May 28 15:52:27 2024 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 29 12:43:20 2024 |
tree | d21234a4419a1307aa7ccb7a7e38d3e65d7d7853 | |
parent | ed0f445b26f24f26723f3b00365631811a5b714d [diff] [blame] |
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> {