Cómo instalar React Router DOM con TypeScript
npm install react-router-dom @types/react-router-dom
# Yarn
yarn add react-router-dom @types/react-router-dom
Salo Hopeless
npm install react-router-dom @types/react-router-dom
# Yarn
yarn add react-router-dom @types/react-router-dom