xxxxxxxxxx
Just run
yarn add @types/react @types/react-dom @types/react-router-dom -D
or
npm install @types/react @types/react-dom @types/react-router-dom --save-dev
xxxxxxxxxx
// import Video from "react-native-video";
const Video = require("react-native-video");