From a7998da10cdf97ebb5984eef1e45d08d7e81cb30 Mon Sep 17 00:00:00 2001 From: baiyaaaaa Date: Fri, 12 Jan 2018 14:33:16 +0800 Subject: [PATCH] fix types (#9242) --- types/form.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/form.d.ts b/types/form.d.ts index b20d1c079..ffac7f7f1 100644 --- a/types/form.d.ts +++ b/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