Don Udugala

PHP Programmer

Full Stack Developer/Magento Developer

Web Solution Architect

Photographer

Love Python, Node, React

0

No products in the cart.

Don Udugala

PHP Programmer

Full Stack Developer/Magento Developer

Web Solution Architect

Photographer

Love Python, Node, React

Blog Post

TS2345: Argument of type ‘AsyncThunkAction‘ is not assignable to parameter of type ‘AnyAction’

January 28, 2023 React, Redux
TS2345: Argument of type ‘AsyncThunkAction‘ is not assignable to parameter of type ‘AnyAction’

React, Redux, Typescript all change very fast. while I was working on one of my project I have encounter above typescript error.

To fix this issue I’ve add redux-thunk.d.ts file under src/system directory. you can add this file anyware under src.

This will fix the issue.

Happy coding.