From 886b2081c26960438b13a2a995831003dc2b360d Mon Sep 17 00:00:00 2001 From: Florian Metz Date: Wed, 24 Jul 2024 03:02:26 +0200 Subject: [PATCH] fix: wrong module hook type (#849) --- 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 ab2d712b..625feeb0 100644 --- a/packages/wxt/src/types/index.ts +++ b/packages/wxt/src/types/index.ts @@ -1353,7 +1353,7 @@ export interface WxtModule { * Alternative to adding hooks in setup function with `wxt.hooks`. Hooks are * added before the `setup` function is called. */ - hooks?: WxtHooks; + hooks?: Partial; /** * A custom function that can be used to setup hooks and call module-specific * APIs.