aboutsummaryrefslogtreecommitdiffstats
path: root/examples/i2p.ts
diff options
context:
space:
mode:
Diffstat (limited to 'examples/i2p.ts')
-rw-r--r--examples/i2p.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/i2p.ts b/examples/i2p.ts
index b9b29c4..7a2cb14 100644
--- a/examples/i2p.ts
+++ b/examples/i2p.ts
@@ -1,7 +1,7 @@
// This example allows entering i2p eepsites into your URL bar - and assuming you're using duckduckgo, it will send you to the eepsite instead.
-import type Browser from 'webextension-polyfill';
-declare const browser: typeof Browser;
+import type { Browser } from 'webextension-polyfill';
+declare const browser: Browser;
// ^ above 2 lines are optional, and only useful to allow the examples directory to not complain. The extension's monaco already defines the type of the browser global.
browser.webRequest.onBeforeRequest.addListener(