Open Mamba-working opened 4 years ago
Even if I passed a type to useform, form.validateFields Always return Store type
const [form] = useForm() form.validateFields.then(res => { const values = res; // values is IForm })
Type is Store
4.6.1 still has this issue
Reproduction link
Steps to reproduce
Even if I passed a type to useform, form.validateFields Always return Store type
What is expected?
const [form] = useForm()
form.validateFields.then(res => {
const values = res; // values is IForm
})
What is actually happening?
Type is Store