Fügen Sie Redux hinzu, um das Typenkript zu reagieren
npm install redux react-redux
npm install -D @types/redux @types/react-redux
Selfish Seal
npm install redux react-redux
npm install -D @types/redux @types/react-redux
// Complete guide to react redux typescript
// https://github.com/piotrwitek/react-redux-typescript-guide