diff --git a/packages/runtime-core/src/directives.ts b/packages/runtime-core/src/directives.ts index daaf28b15..feff9ad26 100644 --- a/packages/runtime-core/src/directives.ts +++ b/packages/runtime-core/src/directives.ts @@ -42,8 +42,8 @@ export type DirectiveHook | null, V = any> = ( prevVNode: Prev, ) => void -export type SSRDirectiveHook = ( - binding: DirectiveBinding, +export type SSRDirectiveHook = ( + binding: DirectiveBinding, vnode: VNode, ) => Data | undefined @@ -55,7 +55,7 @@ export interface ObjectDirective { updated?: DirectiveHook, V> beforeUnmount?: DirectiveHook unmounted?: DirectiveHook - getSSRProps?: SSRDirectiveHook + getSSRProps?: SSRDirectiveHook deep?: boolean }