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