We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3bab73 commit 76aea03Copy full SHA for 76aea03
src/index.ts
@@ -113,7 +113,7 @@ class FormsField<T extends (arg: any) => Form> {
113
this.$generateFormWithKey = (initialValue) => {
114
const form: any = generateForm(initialValue);
115
form.$key = count++;
116
- return form as ReturnType<T> & { $key: number };
+ return form;
117
};
118
119
this.$_formsRef = shallowRef([]);
0 commit comments