diff options
Diffstat (limited to 'src/background/infrastructures/ContentMessageClient.ts')
-rw-r--r-- | src/background/infrastructures/ContentMessageClient.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background/infrastructures/ContentMessageClient.ts b/src/background/infrastructures/ContentMessageClient.ts index e889392..8c00626 100644 --- a/src/background/infrastructures/ContentMessageClient.ts +++ b/src/background/infrastructures/ContentMessageClient.ts @@ -19,7 +19,7 @@ export default class ContentMessageClient { const enabled = await browser.tabs.sendMessage(tabId, { type: messages.ADDON_ENABLED_QUERY, }); - return (enabled as any) as boolean; + return enabled as any as boolean; } async toggleAddonEnabled(tabId: number): Promise<void> { |