I have added typescript to my project and have created a tsconfig.json.
I wasn't planning on changing all the .js files to .ts files yet, so I put allowJS to true in the tsconfig.
But When I run tsc it does nothing. tsc -p . also does nothing.
tsc --version is 3.8.3.
In the end I decided to run it on a single file:
tsc src/index.js
error TS6504: File 'src/index.js' is a JavaScript file. Did you mean to enable the 'allowJs' option?
So it looks like it's not seeing the tsconfig file at all? What am I doing wrong? I'm on windows.