score:0

<Form onFinish={(values)=> onFinish(values as FormData)}>
    ....
</Form>

score:0

import { Form } from 'antd';
// ...

const FormComponent = () => {
  // ...
  const onFinish = (values: FormData) => {
    // ...
  }
  
  return (
    <Form<FormData> onFinish={onFinish}>
    // ...

Related Query

More Query from same tag