aboutsummaryrefslogtreecommitdiff
path: root/src/background
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-08-11 21:37:08 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-08-11 21:40:10 +0900
commitf497109ecc801660dc23bbad8445b120cd75561e (patch)
tree294242675d42468271336ca0f8d702838b73345f /src/background
parent1f10eac90011e6c3c1ad20ce91b358911dc74dcb (diff)
Enable @typescript-eslint/no-namespace
Diffstat (limited to 'src/background')
-rw-r--r--src/background/repositories/BrowserSettingRepository.ts15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/background/repositories/BrowserSettingRepository.ts b/src/background/repositories/BrowserSettingRepository.ts
index 272cc1e..e24874b 100644
--- a/src/background/repositories/BrowserSettingRepository.ts
+++ b/src/background/repositories/BrowserSettingRepository.ts
@@ -1,21 +1,6 @@
import { injectable } from "tsyringe";
import * as urls from "../../shared/urls";
-declare namespace browser.browserSettings.homepageOverride {
- type BrowserSettings = {
- value: string;
- levelOfControl: LevelOfControlType;
- };
-
- type LevelOfControlType =
- | "not_controllable"
- | "controlled_by_other_extensions"
- | "controllable_by_this_extension"
- | "controlled_by_this_extension";
-
- function get(param: { [key: string]: string }): Promise<BrowserSettings>;
-}
-
@injectable()
export default class BrowserSettingRepository {
async getHomepageUrls(): Promise<string[]> {