typescript setup redux code example
Example 1: add redux to react typescript
npm install redux react-redux
npm install -D @types/redux @types/react-redux
Example 2: create react app with redux and typescript
npx create-react-app hello-world --typescript