diff --git a/packages/wxt/src/types.ts b/packages/wxt/src/types.ts index 6db67dfb4..137ab26ea 100644 --- a/packages/wxt/src/types.ts +++ b/packages/wxt/src/types.ts @@ -1379,7 +1379,7 @@ export interface WxtModule { * Alternative to adding hooks in setup function with `wxt.hooks`. Hooks are * added before the `setup` function is called. */ - hooks?: Partial; + hooks?: NestedHooks; /** * A custom function that can be used to setup hooks and call module-specific * APIs.