type: improve form type

This commit is contained in:
huishiyi 2019-09-21 14:09:13 +08:00 committed by GitHub
parent 27f01b36a4
commit ae2d80fbab
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 * Boolean
*/ */
validate(callback?: (valid?: boolean) => void): void; validate(callback?: (valid?: boolean) => void): Promise<boolean>;
/** /**
* 1 prop2 * 1 prop2
*/ */