浏览代码

fix types (#9242)

baiyaaaaa 7 年之前
父节点
当前提交
a7998da10c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      types/form.d.ts

+ 1 - 1
types/form.d.ts

@@ -57,7 +57,7 @@ export declare class ElForm extends ElementUIComponent {
    *
    * @param callback A callback to tell the validation result
    */
-  validate (callback?: ValidateCallback): void
+  validate (callback?: ValidateCallback): any
 
   /**
    * Validate a certain form item