Skip to content

Commit 9837004

Browse files
authored
Merge pull request #683 from silverlovesl/hot/issue-682
add type definition for Form
2 parents 2d3a01c + ebd6cde commit 9837004

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

types/form/form.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,12 @@ export declare class Form extends AntdComponent {
363363
options: object;
364364

365365
createForm(context: Vue, options?: IformCreateOption): any;
366+
367+
/**
368+
* Convert props to field value
369+
* @param field
370+
*/
371+
createFormField(field: any): any;
366372
}
367373

368374
declare module 'vue/types/vue' {

0 commit comments

Comments
 (0)