aboutsummaryrefslogtreecommitdiff
path: root/src/background/presenters/IndicatorPresenter.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-05-19 21:34:08 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-05-19 21:34:08 +0900
commitcdfd54ed99087dc4a7a3fd13865849ff9ce9e8ba (patch)
treeca18790151d4e6cf003367f0dd87c27371d2b2c8 /src/background/presenters/IndicatorPresenter.ts
parentc7803e7c2911f63e43611290b996f526c0f8aaf2 (diff)
Use TSyringe on background script
Diffstat (limited to 'src/background/presenters/IndicatorPresenter.ts')
-rw-r--r--src/background/presenters/IndicatorPresenter.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/background/presenters/IndicatorPresenter.ts b/src/background/presenters/IndicatorPresenter.ts
index 1c81cf5..99f92b5 100644
--- a/src/background/presenters/IndicatorPresenter.ts
+++ b/src/background/presenters/IndicatorPresenter.ts
@@ -1,3 +1,6 @@
+import { injectable } from 'tsyringe';
+
+@injectable()
export default class IndicatorPresenter {
indicate(enabled: boolean): Promise<void> {
let path = enabled