fix: wrong module hook type (#849)
This commit is contained in:
@@ -1353,7 +1353,7 @@ export interface WxtModule<TOptions extends WxtModuleOptions> {
|
||||
* Alternative to adding hooks in setup function with `wxt.hooks`. Hooks are
|
||||
* added before the `setup` function is called.
|
||||
*/
|
||||
hooks?: WxtHooks;
|
||||
hooks?: Partial<WxtHooks>;
|
||||
/**
|
||||
* A custom function that can be used to setup hooks and call module-specific
|
||||
* APIs.
|
||||
|
||||
Reference in New Issue
Block a user