When learning ts, an error is reported when using webpack to package and compile, because the dependency version does not match , you can install it according to the following version
Installed version:
npm install -D typescript npm install -D [email protected] [email protected] npm install -D [email protected] npm install -D [email protected] clean-webpack-plugin npm install -D [email protected] npm install -D cross-env