aboutsummaryrefslogtreecommitdiff
path: root/src/@types
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-05-09 06:16:16 +0000
committerGitHub <noreply@github.com>2021-05-09 06:16:16 +0000
commit479efbdb4116a13d27f0ac7e8abb3ef86bdd6273 (patch)
tree84c7c8713cb5b2d8846f4d7d6a10a0003ac73577 /src/@types
parent93af58dae4e19b8e0024fd593d1feb1e4459e2ad (diff)
parent410189d7499886b1ac5d8e12a4fe76863cc28934 (diff)
Merge pull request #1145 from ueokande/toggle-reader-mode
Toggle reader view
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;