Explorar el Código

fix(handsontable): 修改updateSettings参数声明

qinlaiqiao hace 5 años
padre
commit
b090648a9d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      handsontable/handsontable.d.ts

+ 1 - 1
handsontable/handsontable.d.ts

@@ -186,7 +186,7 @@ declare namespace _Handsontable {
 
     unlisten(): void;
 
-    updateSettings(settings: Handsontable.DefaultSettings, init: boolean): void;
+    updateSettings(settings: Handsontable.DefaultSettings, init?: boolean): void;
 
     validateCells(callback: (valid: boolean) => void): void;