D:\Throwaway\corsarepro>tsc a.js
error TS6504: File 'a.js' is a JavaScript file. Did you mean to enable the 'allowJs' option?
The file is in the program because:
Root file specified for compilation
Found 1 error.
D:\Throwaway\corsarepro>tsgo a.js
D:\Throwaway\corsarepro>