diff --git a/packages/wxt/src/client/content-scripts/ui/types.ts b/packages/wxt/src/client/content-scripts/ui/types.ts index aa49e2e7..986c20be 100644 --- a/packages/wxt/src/client/content-scripts/ui/types.ts +++ b/packages/wxt/src/client/content-scripts/ui/types.ts @@ -83,7 +83,8 @@ export type IframeContentScriptUiOptions = * The path to the HTML page that will be shown in the iframe. This string is passed into * `browser.runtime.getURL`. */ - page: PublicPath; + // @ts-expect-error: HtmlPublicPath is generated per-project + page: import('wxt/browser').HtmlPublicPath; /** * Callback executed when mounting the UI. Use this function to customize the iframe or wrapper * element's appearance. It is called every time `ui.mount()` is called.