Set allowJs to true in the tsconfig.json file to tell typescript to look at the js.
Why didn't you just recommend this from the start? Seems a lot simpler than to add // @ts-check to every single JS file like you said in your original comment :P
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.