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,
|
el: T,
|
||||||
binding: DirectiveBinding,
|
binding: DirectiveBinding,
|
||||||
vnode: VNode<any, T>,
|
vnode: VNode<any, T>,
|
||||||
prevVNode: VNode | null
|
prevVNode: VNode<any, T> | null
|
||||||
) => void
|
) => void
|
||||||
|
|
||||||
export interface Directive<T = any> {
|
export interface Directive<T = any> {
|
||||||
|
Loading…
Reference in New Issue
Block a user