浏览代码

style(handsontable): 类型定义

qinlaiqiao 5 年之前
父节点
当前提交
0f84b25eba
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 0
      handsontable/handsontable.d.ts
  2. 1 1
      handsontable/package.json

+ 2 - 0
handsontable/handsontable.d.ts

@@ -195,6 +195,8 @@ declare namespace _Handsontable {
     validateRows(rows: number[], callback: (valid: boolean) => void): void;
     validateRows(rows: number[], callback: (valid: boolean) => void): void;
 
 
     isDestroyed: boolean;
     isDestroyed: boolean;
+
+    rootElement: HTMLElement;
   }
   }
 }
 }
 
 

+ 1 - 1
handsontable/package.json

@@ -10,7 +10,7 @@
     "url": "https://github.com/handsontable/handsontable/issues"
     "url": "https://github.com/handsontable/handsontable/issues"
   },
   },
   "author": "Handsoncode <hello@handsontable.com>",
   "author": "Handsoncode <hello@handsontable.com>",
-  "version": "6.2.7",
+  "version": "6.2.9",
   "browser": "dist/handsontable.js",
   "browser": "dist/handsontable.js",
   "main": "commonjs/index.js",
   "main": "commonjs/index.js",
   "module": "es/index.js",
   "module": "es/index.js",