I am currently working on a Handlebars project, and I'm facing an issue with Visual Studio 2017 showing numerous "TS7027: Unreachable code detected" warnings from the Handlebars js files. The strange part is that I am not using Typescript in my project, so it's puzzling why these errors are popping up. It's quite frustrating to sift through around 50 TS7027 warnings to find relevant ones. Is there any way to ignore these warnings (although based on my research, it seems unlikely), or perhaps instruct Typescript to skip parsing my .js files altogether?
Edit: I tried following the instructions provided in this question (How to prevent visual studio 2017 from build javascript?), but unfortunately, the warnings persist. These warnings appear as soon as I open the project, even before I save or build anything, so disabling TS compilation on save/build doesn't seem to be effective in this case. As a temporary fix, I have disabled the TypeScript extension in VS2017.