I decided to start using TypeScript, and so I set up a simple project. However, I seem to get some annoying linting errors which I do not know how to solve.
- Imports get the 
Cannot find module 'X'. ts(2307)error - On my linux machine 
Promises andErrors get theCannot find name 'X'error - On my linux machine 
console.log/errorstatements get a similar error and it recommends me to add"dom"to thelibintsconfig.json, which doesn't help. 
You can see the repo here (https://github.com/feareoc/chat). I'd appreciate any help for solve this problem!