npm i @types/react
yarn add @types/react
<script src="https://fastly.jsdelivr.net/npm/@types/react"></script>
<script src="https://unpkg.com/@types/react"></script>
<script type="module">
import lodash from 'https://cdn.skypack.dev/@types/react';
</script>