diff --git a/types/options.d.ts b/types/options.d.ts index 00ac467d9b..91dee28569 100644 --- a/types/options.d.ts +++ b/types/options.d.ts @@ -160,20 +160,9 @@ export interface WatchOptionsWithHandler extends WatchOptions { handler: WatchHandler; } -export interface DirectiveBinding { - readonly name: string; - readonly rawName: string; - readonly def: DirectiveOptions; - readonly value: any; - readonly oldValue: any; - readonly expression: any; - readonly arg: string; - readonly modifiers: { [key: string]: boolean }; -} - export type DirectiveFunction = ( el: HTMLElement, - binding: DirectiveBinding, + binding: Readonly, vnode: VNode, oldVnode: VNode ) => void;