Typing redux forms v7 with TypeScript and React

后端 未结 5 2064
野性不改
野性不改 2020-12-29 15:29

I\'ve got a plain react-redux-powered form. I wish for there to be a form.container.tsx and a form.component.tsx, where form.container.tsx holds all the connections to redux

5条回答
  •  一向
    一向 (楼主)
    2020-12-29 15:41

    I had the same problem and found it was caused by "@types/react-redux", remove this types definition file and everything works the way you would expect it to without any other side effects/type errors caused by not having that type-def-file.

提交回复
热议问题