aboutsummaryrefslogtreecommitdiffstats
path: root/examples/imgur-redirect.ts
diff options
context:
space:
mode:
Diffstat (limited to 'examples/imgur-redirect.ts')
-rw-r--r--examples/imgur-redirect.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/imgur-redirect.ts b/examples/imgur-redirect.ts
index 97d7c81..72ff7d9 100644
--- a/examples/imgur-redirect.ts
+++ b/examples/imgur-redirect.ts
@@ -1,5 +1,5 @@
-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(