Removing [ts] errors from JS files In VS Code

后端 未结 8 1160
有刺的猬
有刺的猬 2021-01-31 14:44

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:

8条回答
  •  半阙折子戏
    2021-01-31 15:23

    This worked for me too: File > Preferences > Settings > Extensions->TypeScript-> Javascript>Validate make sure Enable/disable JavaScript validation. is not checked

    https://stackoverflow.com/a/53745887/14728249 Thank you @BenE :)

提交回复
热议问题