fix: wrong module hook type (#849)

This commit is contained in:
Florian Metz
2024-07-24 03:02:26 +02:00
committed by GitHub
parent c69e51ce50
commit 886b2081c2
+1 -1
View File
@@ -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.