/Users/dujia/work/MyGit/learn_react/tx-react/src/index.tsx
TypeScript error in /Users/dujia/work/MyGit/learn_react/tx-react/src/index.tsx(2,22):
Could not find a declaration file for module 'react-dom'. '/Users/dujia/work/MyGit/learn_react/tx-react/node_modules/react-dom/index.js' implicitly has an 'any' type.
If the 'react-dom' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom` TS7016
1 | import React from 'react';
> 2 | import ReactDOM from 'react-dom';
| ^
3 | import './index.css';
4 | import App from './App';
5 | import * as serviceWorker from './serviceWorker';