From: Dmitry Sharshakov Date: Mon, 14 Oct 2019 02:40:29 +0000 (+0300) Subject: types: improve directive typing (#253) X-Git-Tag: v3.0.0-alpha.0~461 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=374a85b8612c7b80a2f3d6ba89c6d261e8dbc47d;p=thirdparty%2Fvuejs%2Fcore.git types: improve directive typing (#253) --- diff --git a/packages/runtime-core/src/directives.ts b/packages/runtime-core/src/directives.ts index 2e46b6dbad..e3ee28b7e2 100644 --- a/packages/runtime-core/src/directives.ts +++ b/packages/runtime-core/src/directives.ts @@ -31,7 +31,7 @@ export type DirectiveHook = ( el: T, binding: DirectiveBinding, vnode: VNode, - prevVNode: VNode | null + prevVNode: VNode | null ) => void export interface Directive {