diff --git a/packages/runtime-core/src/apiLifecycle.ts b/packages/runtime-core/src/apiLifecycle.ts index b79a6d38a06..9427d4c92f3 100644 --- a/packages/runtime-core/src/apiLifecycle.ts +++ b/packages/runtime-core/src/apiLifecycle.ts @@ -77,7 +77,7 @@ const createHook = injectHook(lifecycle, (...args: unknown[]) => hook(...args), target) } } -type CreateHook = ( +type CreateHook any> = ( hook: T, target?: ComponentInternalInstance | null, ) => void