Argument of type 'ConnectedComponentClass<any, Pick<{}, never>>' is not assignable to parameter of type 'ComponentType<InjectedFormProps<IFormProps, {}, string>>'.
Type 'ConnectedComponentClass<any, Pick<{}, never>>' is not assignable to type 'ComponentClass<InjectedFormProps<IFormProps, {}, string>, any>'.
Type 'Component<Pick<{}, never> | (Pick<Pick<{}, never>, never> & Partial<Pick<Pick<{}, never>, never>> & Partial<Pick<{}, never>>) | (Pick<Pick<{}, never>, never> & Pick<InferProps<...>, never>) | (Pick<...> & ... 1 more ... & Partial<...>), any, any>' is not assignable to type 'Component<InjectedFormProps<IFormProps, {}, string>, any, any>'.
Type 'Pick<{}, never> | (Pick<Pick<{}, never>, never> & Partial<Pick<Pick<{}, never>, never>> & Partial<Pick<{}, never>>) | (Pick<Pick<{}, never>, never> & Pick<InferProps<{}>, never>) | (Pick<...> & ... 1 more ... & Partial<...>)' is not assignable to type 'InjectedFormProps<IFormProps, {}, string>'.
Type 'Pick<{}, never>' is missing the following properties from type 'InjectedFormProps<IFormProps, {}, string>': anyTouched, array, asyncValidate, asyncValidating, and 23 more. TS2345
97 | },
98 | enableReinitialize: true
> 99 | })(connect<null, IMapDispatchToProps>(null, mapDispatchToProps)(withRouter(AddTodo)))
| ^
100 |
101 |