diff options
Diffstat (limited to 'examples/breeze-wiki.ts')
-rw-r--r-- | examples/breeze-wiki.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/breeze-wiki.ts b/examples/breeze-wiki.ts index 7e0d5d6..af218a9 100644 --- a/examples/breeze-wiki.ts +++ b/examples/breeze-wiki.ts @@ -1,7 +1,7 @@ // This example redirects all fandom pages to breezewiki (or for minecraft.fandom.com, the minecraft wiki) -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( |