mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 11:08:00 +08:00
add type definition for Form
This commit is contained in:
parent
b9aa4aec0c
commit
ebd6cde2e1
6
types/form/form.d.ts
vendored
6
types/form/form.d.ts
vendored
@ -363,6 +363,12 @@ export declare class Form extends AntdComponent {
|
||||
options: object;
|
||||
|
||||
createForm(context: Vue, options?: IformCreateOption): any;
|
||||
|
||||
/**
|
||||
* Convert props to field value
|
||||
* @param field
|
||||
*/
|
||||
createFormField(field: any): any;
|
||||
}
|
||||
|
||||
declare module 'vue/types/vue' {
|
||||
|
Loading…
Reference in New Issue
Block a user