npm i -D typescript@4.0.5
npm install typescript@">=4.2.3 <4.4.0" -D - replace versions with those from your error message.
Hi, TypeScript version should be ==3.4.5 instead of greater than 3.4.5.