Skip to content

API > wxt/modules > defineWxtModule

Function: defineWxtModule()

defineWxtModule<TOptions>(module): WxtModule<TOptions>

Type parameters

TOptions extends WxtModuleOptions

Parameters

module: WxtModule<TOptions> | WxtModuleSetup<TOptions>

Source

packages/wxt/src/modules.ts:21


Generated using typedoc-plugin-markdown and TypeDoc