diff --git a/packages/wxt/src/browser/chrome.ts b/packages/wxt/src/browser/chrome.ts index 546c2240..cb9a4430 100644 --- a/packages/wxt/src/browser/chrome.ts +++ b/packages/wxt/src/browser/chrome.ts @@ -1,9 +1,4 @@ /// -/** - * @module wxt/browser/chrome - */ -import type { WxtRuntime, WxtI18n } from './index'; - /** * EXPERIMENTAL * @@ -11,11 +6,11 @@ import type { WxtRuntime, WxtI18n } from './index'; * * @module wxt/browser/chrome */ +import type { WxtRuntime, WxtI18n } from './index'; -export type Chrome = typeof chrome; -export type WxtBrowser = Omit & { - runtime: WxtRuntime & Omit; - i18n: WxtI18n & Omit; +export type WxtBrowser = Omit & { + runtime: WxtRuntime & Omit<(typeof chrome)['runtime'], 'getURL'>; + i18n: WxtI18n & Omit<(typeof chrome)['i18n'], 'getMessage'>; }; export const browser: WxtBrowser =