Damans227 commented on a change in pull request #17474:
URL: https://github.com/apache/superset/pull/17474#discussion_r751881836



##########
File path: superset-frontend/src/components/Form/Form.tsx
##########
@@ -29,7 +29,7 @@ const StyledForm = styled(AntDForm)`
   }
 `;
 
-export default function Form(props: FormProps) {
+export default function Form(props: any) {

Review comment:
       > Why remove type checking?
   
   It is causing this error given below in the `Fieldset` component: 
   
   ```
   Type '{ children: any[]; componentClass: string; className: string; layout: 
"vertical"; }' is not assignable to type 'IntrinsicAttributes & FormProps<any>'.
    Property 'componentClass' does not exist on type 'IntrinsicAttributes & 
FormProps<any>'.
   ```
   I wasn't sure how else to handle it. Tried this [solution from 
stackoverflow](https://stackoverflow.com/a/57312722), but it didn't help. 
   
   Any suggestions are welcome. 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to