We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
createIframeUi
page
1 parent a38de0c commit 3a8e613Copy full SHA for 3a8e613
packages/wxt/src/client/content-scripts/ui/types.ts
@@ -83,7 +83,8 @@ export type IframeContentScriptUiOptions<TMounted> =
83
* The path to the HTML page that will be shown in the iframe. This string is passed into
84
* `browser.runtime.getURL`.
85
*/
86
- page: PublicPath;
+ // @ts-expect-error: HtmlPublicPath is generated per-project
87
+ page: import('wxt/browser').HtmlPublicPath;
88
/**
89
* Callback executed when mounting the UI. Use this function to customize the iframe or wrapper
90
* element's appearance. It is called every time `ui.mount()` is called.
0 commit comments