It’s a ReSharper setting. From the menu bar in Visual Studio, click Resharper → Options → Code Editing → TypeScript → Inspections, then change the TypeScript language level to the relevant value.
It’s a ReSharper setting. From the menu bar in Visual Studio, click Resharper → Options → Code Editing → TypeScript → Inspections, then change the TypeScript language level to the relevant value.