aboutsummaryrefslogtreecommitdiff
path: root/src/@types/web-ext-api/index.d.ts
blob: 7eed3341e30e3e57e4b36b7d36474d09aabac79f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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>;
}