瀏覽代碼

chore: remove unused type `VNodeDirectiveData` (#1893)

edison 5 年之前
父節點
當前提交
7dd067206c
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      packages/runtime-core/src/directives.ts

+ 0 - 6
packages/runtime-core/src/directives.ts

@@ -58,12 +58,6 @@ export type Directive<T = any, V = any> =
 
 export type DirectiveModifiers = Record<string, boolean>
 
-export type VNodeDirectiveData = [
-  unknown,
-  string | undefined,
-  DirectiveModifiers
-]
-
 const isBuiltInDirective = /*#__PURE__*/ makeMap(
   'bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text'
 )