Merge pull request #6292 from CherishIt/patch-1

improve form type def
This commit is contained in:
debugIsFalse 2019-09-24 10:05:11 +08:00 committed by GitHub
commit 906bf5cd0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
types/form.d.ts vendored
View file

@ -35,7 +35,7 @@ export declare class Form extends Vue {
/**
* Boolean
*/
validate(callback?: (valid?: boolean) => void): void;
validate(callback?: (valid?: boolean) => void): Promise<boolean>;
/**
* 1 prop2
*/