API > wxt > ResolvedPerBrowserOptions
Type alias: ResolvedPerBrowserOptions<T, TOmitted>
ResolvedPerBrowserOptions<
T
,TOmitted
>:{ [key in keyof Omit<T, TOmitted>]: T[key] extends PerBrowserOption<infer U> ? U : T[key] }
&{ [key in TOmitted]: T[key] }
Convert { key: PerBrowserOption<T> }
to just { key: T }
, stripping away the PerBrowserOption
type for all fields inside the object.
A optional second list of keys can be passed if a field isn't compatible with PerBrowserOption
, like defaultIcon
.
Type parameters
Parameter | Default |
---|---|
T | - |
TOmitted extends keyof T | never |
Source
Generated using typedoc-plugin-markdown and TypeDoc