Przeglądaj źródła

Merge branch 'master' of http://192.168.1.41:3000/SmartCost/SCCommon

chenshilong 5 lat temu
rodzic
commit
f5c977a8d1
2 zmienionych plików z 4 dodań i 1 usunięć
  1. 3 0
      handsontable/handsontable.d.ts
  2. 1 1
      handsontable/package.json

+ 3 - 0
handsontable/handsontable.d.ts

@@ -2332,6 +2332,9 @@ declare namespace Handsontable {
     password: cellTypes.Password;
     text: cellTypes.Text;
     time: cellTypes.Time;
+
+    // 自定义添加
+    registerCellType:(name:string, type:{editor: any; renderer: Handsontable.renderers.Base})=> void
   }
 
   interface Editors {

+ 1 - 1
handsontable/package.json

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