I have tried to install this plugin: Web Analyzer, but unfortunately it can not be installed in VS 2017. It showed:
VSIXInstaller.NoApplicableSKUsExce
Thanks to Rich N, now there is TypeScript Analyzer for Visual Studio 2017. See his answer to an SO question on the same topic here.