From c7af789173df48fdff881a616ce0606bc946cc21 Mon Sep 17 00:00:00 2001 From: Aaron Date: Thu, 13 Jun 2024 11:20:59 -0500 Subject: [PATCH] fix(types): Module `options` param is optional, but types did not reflect that (#719) --- packages/wxt/src/types/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/wxt/src/types/index.ts b/packages/wxt/src/types/index.ts index f6b952f1..a996fce7 100644 --- a/packages/wxt/src/types/index.ts +++ b/packages/wxt/src/types/index.ts @@ -1300,7 +1300,7 @@ export type WxtModuleOptions = Record; export type WxtModuleSetup = ( wxt: Wxt, - moduleOptions: TOptions, + moduleOptions?: TOptions, ) => void | Promise; export interface WxtModule {