aboutsummaryrefslogtreecommitdiff
path: root/src/@types
diff options
context:
space:
mode:
authorShin'ya UEOKA <ueokande@i-beam.org>2021-05-09 02:37:54 +0000
committerShin'ya UEOKA <ueokande@i-beam.org>2021-05-09 02:37:54 +0000
commita7ade501f7c85632208c74e3553305c815159d01 (patch)
tree27a43ae9ba44cb295c4825d81fe52bc7cb9ef004 /src/@types
parent48bee8f5d2b4a5c5996870b46afeadefed86106e (diff)
Support reader-mode
Diffstat (limited to 'src/@types')
-rw-r--r--src/@types/web-ext-api/index.d.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/@types/web-ext-api/index.d.ts b/src/@types/web-ext-api/index.d.ts
index 7eed334..c2ffbb2 100644
--- a/src/@types/web-ext-api/index.d.ts
+++ b/src/@types/web-ext-api/index.d.ts
@@ -1,3 +1,7 @@
+declare namespace browser.tabs {
+ function toggleReaderMode(tabId?: number): Promise<void>;
+}
+
declare namespace browser.browserSettings.homepageOverride {
type BrowserSettings = {
value: string;