I get these TypeScript errors VS Code while I\'m working in JS files. Is there anything I can do to disable this? I have put this in my settings and did not solve the issue:
Open settings in your VSC.
To open your user and workspace settings, use the following VS Code menu command:
On macOS - Code > Preferences > Settings
Check if tslint.jsEnable
is set to false
// Control whether tslint is enabled for JavaScript files or not.
"tslint.jsEnable": false,
Set it to false in workspace settings section
From the documentation:
tslint.enable - enable/disable tslint.
tslint.jsEnable - enable/disable tslint for .js
files, default is false.
On visual studio code File > Preferences > Settings Go to Extensions->TypeScript-> Javascript>Validate make sure Enable/disable JavaScript validatio