types: improve directive typing (#253)
This commit is contained in:
parent
8e5ea98ccd
commit
374a85b861
@ -31,7 +31,7 @@ export type DirectiveHook<T = any> = (
|
||||
el: T,
|
||||
binding: DirectiveBinding,
|
||||
vnode: VNode<any, T>,
|
||||
prevVNode: VNode | null
|
||||
prevVNode: VNode<any, T> | null
|
||||
) => void
|
||||
|
||||
export interface Directive<T = any> {
|
||||
|
Loading…
Reference in New Issue
Block a user