From 45d721e46c9fb6a20ff7b7f845b910778e2e5197 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Thu, 10 Dec 2020 22:24:06 +0900 Subject: Use useClass for a class --- src/background/di.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/background') 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, -- cgit v1.2.3