npm install --save @types/react code example Example: install react-redux & types npm install --save react-redux @types/react-redux