diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-12-10 22:24:06 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-12-10 22:24:06 +0900 |
commit | 45d721e46c9fb6a20ff7b7f845b910778e2e5197 (patch) | |
tree | 68c7a9a7e20d1f5321f4dc9a56c8a89783addaf2 /src/background/di.ts | |
parent | 5a0444d7bb7eae27fdca5c2be8fc3ec6c36d53bd (diff) |
Use useClass for a class
Diffstat (limited to 'src/background/di.ts')
-rw-r--r-- | src/background/di.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background/di.ts b/src/background/di.ts index efdf363..358ff1e 100644 --- a/src/background/di.ts +++ b/src/background/di.ts @@ -20,7 +20,7 @@ import { ZoomPresenterImpl } from "./presenters/ZoomPresenter"; import { WindowPresenterImpl } from "./presenters/WindowPresenter"; container.register("LocalSettingRepository", { - useValue: LocalSettingRepository, + useClass: LocalSettingRepository, }); container.register("SyncSettingRepository", { useClass: SyncSettingRepository, |