Skip to content

Commit 3a8e613

Browse files
committed
fix: Fix createIframeUi page option types
1 parent a38de0c commit 3a8e613

File tree

1 file changed

+2
-1
lines changed
  • packages/wxt/src/client/content-scripts/ui

1 file changed

+2
-1
lines changed

packages/wxt/src/client/content-scripts/ui/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ export type IframeContentScriptUiOptions<TMounted> =
8383
* The path to the HTML page that will be shown in the iframe. This string is passed into
8484
* `browser.runtime.getURL`.
8585
*/
86-
page: PublicPath;
86+
// @ts-expect-error: HtmlPublicPath is generated per-project
87+
page: import('wxt/browser').HtmlPublicPath;
8788
/**
8889
* Callback executed when mounting the UI. Use this function to customize the iframe or wrapper
8990
* element's appearance. It is called every time `ui.mount()` is called.

0 commit comments

Comments
 (0)