diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-07-04 13:40:18 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-04 13:40:18 +0900 |
commit | 750d92e57e48d5b3614a97558ed8c43ce0351474 (patch) | |
tree | 80fa47ec452813b579fd7919d8f32337f272c6e9 /src/background | |
parent | 63a129d2d6fab68784e902476dd9d6d5f563036a (diff) | |
parent | 6b88c15d1a6193cd090c5a1ae9b6ea06a467e171 (diff) |
Merge pull request #1194 from ueokande/dependabot/npm_and_yarn/prettier-2.3.2
Bump prettier from 2.2.1 to 2.3.2
Diffstat (limited to 'src/background')
6 files changed, 10 insertions, 19 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> { diff --git a/src/background/operators/impls/CommandOperatorFactoryChain.ts b/src/background/operators/impls/CommandOperatorFactoryChain.ts index 680a384..9408a4b 100644 --- a/src/background/operators/impls/CommandOperatorFactoryChain.ts +++ b/src/background/operators/impls/CommandOperatorFactoryChain.ts @@ -14,7 +14,8 @@ import StartFindOperator from "./StartFindOperator"; @injectable() export default class CommandOperatorFactoryChain - implements OperatorFactoryChain { + implements OperatorFactoryChain +{ constructor( @inject("TabPresenter") private readonly tabPresenter: TabPresenter, diff --git a/src/background/operators/impls/InternalOperatorFactoryChain.ts b/src/background/operators/impls/InternalOperatorFactoryChain.ts index 05615f6..00e8faf 100644 --- a/src/background/operators/impls/InternalOperatorFactoryChain.ts +++ b/src/background/operators/impls/InternalOperatorFactoryChain.ts @@ -10,7 +10,8 @@ import * as operations from "../../../shared/operations"; @injectable() export default class InternalOperatorFactoryChain - implements OperatorFactoryChain { + implements OperatorFactoryChain +{ constructor( @inject("WindowPresenter") private readonly windowPresenter: WindowPresenter, diff --git a/src/background/operators/impls/NavigateOperatorFactoryChain.ts b/src/background/operators/impls/NavigateOperatorFactoryChain.ts index 618db45..ce36e80 100644 --- a/src/background/operators/impls/NavigateOperatorFactoryChain.ts +++ b/src/background/operators/impls/NavigateOperatorFactoryChain.ts @@ -16,7 +16,8 @@ import * as operations from "../../../shared/operations"; @injectable() export default class NavigateOperatorFactoryChain - implements OperatorFactoryChain { + implements OperatorFactoryChain +{ constructor( @inject("TabPresenter") private readonly tabPresenter: TabPresenter, diff --git a/src/background/operators/impls/RepeatOperatorFactoryChain.ts b/src/background/operators/impls/RepeatOperatorFactoryChain.ts index 5038d48..a931209 100644 --- a/src/background/operators/impls/RepeatOperatorFactoryChain.ts +++ b/src/background/operators/impls/RepeatOperatorFactoryChain.ts @@ -8,7 +8,8 @@ import * as operations from "../../../shared/operations"; @injectable() export default class RepeatOperatorFactoryChain - implements OperatorFactoryChain { + implements OperatorFactoryChain +{ constructor( @inject("RepeatRepository") private readonly repeatRepository: RepeatRepository, diff --git a/src/background/presenters/ZoomPresenter.ts b/src/background/presenters/ZoomPresenter.ts index 5a3c64d..31d01c7 100644 --- a/src/background/presenters/ZoomPresenter.ts +++ b/src/background/presenters/ZoomPresenter.ts @@ -1,18 +1,5 @@ const ZOOM_SETTINGS = [ - 0.33, - 0.5, - 0.66, - 0.75, - 0.8, - 0.9, - 1.0, - 1.1, - 1.25, - 1.5, - 1.75, - 2.0, - 2.5, - 3.0, + 0.33, 0.5, 0.66, 0.75, 0.8, 0.9, 1.0, 1.1, 1.25, 1.5, 1.75, 2.0, 2.5, 3.0, ] as const; export default interface ZoomPresenter { |