mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 01:17:15 +00:00
types(Form): add type definition
This commit is contained in:
9
types/form.d.ts
vendored
Normal file
9
types/form.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { VanComponent } from './component';
|
||||
|
||||
export class Form extends VanComponent {
|
||||
submit(): void;
|
||||
|
||||
validate(name?: string): Promise<void>;
|
||||
|
||||
resetValidation(name?: string): void;
|
||||
}
|
Reference in New Issue
Block a user