Can I use .js files in a typewriting project in code? I cloned a reactive project from the github repository and opened it in Visual Studio Code. When I add tsconfig.json to start using typing, I get a long list of errors. For example, here is the box.js file (with es6 functions):

Here is my tsconfig.json file (if I delete this file, then everything works fine, no errors are reported):

source
share