aboutsummaryrefslogtreecommitdiff
path: root/src/background/repositories/BrowserSettingRepository.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/repositories/BrowserSettingRepository.ts')
-rw-r--r--src/background/repositories/BrowserSettingRepository.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/background/repositories/BrowserSettingRepository.ts b/src/background/repositories/BrowserSettingRepository.ts
index 33b35dd..9cfb35e 100644
--- a/src/background/repositories/BrowserSettingRepository.ts
+++ b/src/background/repositories/BrowserSettingRepository.ts
@@ -1,3 +1,4 @@
+import { injectable } from 'tsyringe';
import * as urls from '../../shared/urls';
declare namespace browser.browserSettings.homepageOverride {
@@ -16,6 +17,7 @@ declare namespace browser.browserSettings.homepageOverride {
function get(param: object): Promise<BrowserSettings>;
}
+@injectable()
export default class BrowserSettingRepository {
async getHomepageUrls(): Promise<string[]> {
let { value } = await browser.browserSettings.homepageOverride.get({});