# 安装
### Type-Definitions for React & Redux
```
npm i -D @types/react @types/react-dom @types/react-redux
```
"react" - `@types/react`
"react-dom" - `@types/react-dom`
"redux" - (types included with npm package)\*
"react-redux" - `@types/react-redux`
> *NB: Guide is based on types for Redux >= v4.x.x. To make it work with Redux v3.x.x please refer to [this config](https://github.com/piotrwitek/react-redux-typescript-guide/blob/master/playground/tsconfig.json#L5))