项目有eslintconst SearchForm: FC<SearchFormProps> =(props:any,ref:any) => {}
export default Form.create()(forwardRef(SearchForm))
forwardRef(SearchForm)报错Types of property 'defaultProps' are incompatible.
Type 'Partial<SearchFormProps> | undefined' is not assignable to type 'undefined'
Type 'Partial<SearchFormProps>' is not assignable to type 'undefined'
之前一直这么用的,不太清楚要怎么改,求大神指点